ActionScript 2.0 :: Call Another Program Through Fscommand
Jul 21, 2009
I am quite a newbie and want to call another program through fscommand.Flash and the programm I want to call are both running on my hard disk (NOT online)I do not really understand what I have to put into:
1. the line command
2. the line parameters
View 2 Replies
Similar Posts:
Apr 22, 2009
i have a flash application that calls a .bat file using fscommand.is there a way to call this fscommand when the flash player is being closed?
View 1 Replies
Nov 29, 2005
I know, I can send fscommand but can i take in fscommand and process it?
View 6 Replies
Oct 31, 2011
Is it possible with server-side scripting for FMS to call an external program once a stream has been unpublished?
View 2 Replies
Aug 11, 2010
Or is it possible in Flash? web applications - call a specific client side program in player controlled?
View 2 Replies
Nov 4, 2008
Im trying to add an exit button onto my program so when its clicked it exits the program completely.. I've tried some of the suggestions on the forums but they arnt working. what I have been using and its not working..
// CLICK to Exit
exit_Btn.addEventListener("mouseUp", goExit);
function goExit(evt:MouseEvent) {
fscommand("quit");
};
View 9 Replies
Sep 29, 2010
Is there a way to start an unrelated program (such as Window's media player) from inside of a flash program?
View 2 Replies
Mar 24, 2003
I need to program a timer for a typing tutorial program. It needs to go to 5 minutes. When the timer gets to 5 minutes the movie has to go to frame 13 which displays the results of the typing test.
View 1 Replies
Oct 26, 2010
i have the following code ]
[Code]...
but no connection established what is the reason behind not know help required and one more thing XAMPP is installed in D: drive.
View 1 Replies
Jun 28, 2011
i have some actionscript that makes a
ExternalInterface.call('someFunction');
call.is it possible to reference the html object that made the call to someFunction directly using the ExternalInterface.call call?
Assume that the object that makes the call also has some Callbacks (via ExternalInterface.addCallback) that are accessible via javascript.
Currently:
Actionscript source
ExternalInterface.call("someFunction");
ExternalInterface.addCallback("someCallback",someASfunction);
[code]....
View 1 Replies
Oct 8, 2009
I have one swf file in that i used fscommand to get final output when submit button clicked in that swf i am loading that swf in SWFloader in flex3 .i need to get fscommand value as Alert, how to get that value first and display as alert.
View 2 Replies
May 22, 2011
why the below line of code launches notepad.exe twice?
fscommand("execfile", '"C:\Windows\Notepad.exe"'); //opens notepad 2x - path in double quotes
verses this line of code which opens it only once?
fscommand("execfile", "C:\Windows\Notepad.exe"); //opens notepad once
I'm working on a FP10 .exe projector project and noticed this odd behavior.If I had spaces in my file path, I'd want to surround it in double quotes, but that has the undesired effect of opening the app 2x.Since I don't have full control over all the elements in the project, I'm forced to use fscommand in this scenario.
View 1 Replies
Jan 23, 2012
I have a project that opens a pdf using fscommand.
View 2 Replies
Jun 21, 2010
with AS2, we use fscommand to do it, but AS 3 I don't know how to do ..
We can reference from: [URL]
View 1 Replies
May 8, 2008
When publishing a mac projector (app) from Flash CS3 on PC,in order to use the fscommand("exec", appToLaunch) function, itseems as though the fscommand folder containing appToLaunch must berelative to the "Flash Player" app in the projector package. For example, if I create a mac projector called projector.appwhich calls fscommand("exec", "myOtherProjector"), and I putmyOtherProjector in the fscommand folder in the same directory,sitting next to projector.app - when I fun the projector thefscommand fails.
However, if I move the fscommand folder containingmyOtherProjector to the Contents>MacOS folder in the app folder(on mac right click, go to "show package contents"), next to "FlashPlayer" then run projector.app, the fscommand works and everythingis good.It looks to me like the fscommand folder needs to be relativeto the Flash Player and not to the projector. This means that the contents of the fscommand folder need tobe doubled on cross-platform projects. That's not good when you'repushing the limits of file space on a cd
View 2 Replies
Aug 7, 2009
I've done all of these and everything is ok. but I want to do more. I want to play my flash in a web browser and I used publish to html. but my fscommand doesn't work in the web browser! what should I do?
View 8 Replies
May 28, 2002
I am working on putting a portfolio on CD and would like to include a video. The video I want to be played by windows media player, but I seem to be missing something. I have a button and have put this code on it...
on(release){
fscommand("exec", "c://Temp.mplayer2.exe");
}
I have tried multipe variations of this code but nothing happens.
View 2 Replies
Nov 5, 2009
The project is a keyframe based presentation and I'm an actionscript novice. It is to run, full screen, as an executable off a CD ROM and there are 4 .flvs in the executable. Here is my code for the first frame which contains opening video, and it works fine (sadly a simple fscommand fullscreen from as2 won't work). Problem is, I get black screens & weirdness when I try to use stageDisplayState and fullScreenTakeOver's on the frames that contain the other 3 videos.
[CODE]...
View 4 Replies
Dec 9, 2009
What happen is that i have a quit button and when it is clicked:
fscommand("quit"); will execute.
However for some reason, it only works sometime and at other time, it has no effect.
So, anyway, this is the code:
In the menu:
package {
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.events.MouseEvent;
import flash.ui.Mouse;
[Code] .....
View 3 Replies
May 4, 2011
I'm making a flash movie project, the stage size is 600x800. When I use fscommand to make the flash projector fullscreen it shows everything, including out of stage things. How do I get the projector to only show the stage Fullscreen? PS: An answer in AS 3.0 would be fine to! As 2 is preferable!
View 1 Replies
Jan 19, 2004
i was playing with the fscommand for a few times now but i havent made the exec command execute a file(in a subfolder)... a directory with a movie and a folder with sample exec file
View 1 Replies
Aug 20, 2002
Is there a way to prevent resizing using FScommand?
View 2 Replies
Mar 11, 2009
Determine if Mac or PC within a flash projector? (for use with FSCommand) How do I determine if a computer is Mac or PC within a flash projector? I need this because I've got several FSCommands I need to use within a projector (such as launching an application or file) and need to have different commands for Mac and PC.
[Code]....
View 4 Replies
Apr 6, 2009
Basically I'm trying to use fscommand to open programs outside of the flashplayer. This I thought would be pretty simple but apparently not.Here is the actionscript I've already tried:
Code:
on (release) {
fscommand ("exec", "C:UsersMattDocumentsflashMTRXfscommandpin.bat");
}
on (release) {
fscommand ("exec", "fscommandpin.bat");
}
on (release) {
fscommand ("exec", "pin.bat");
}
But guess what, on release nothing seems to happen.The SWF file is in the folder "MTRX". I'm using Flash MX 2004. This is what the BAT file is:
Code:
@echo off
start PinballBot.exe
When I open it from windows explorer that works.
View 1 Replies
Jan 6, 2011
I published my fla as scorm 1.2 tracking. I ziped up my files and loaded to lms. It will not write the score. It runs and functions ok but does not write score.
fscommand ("LMSSetValue","cmi.core.score.min,0");
fscommand ("LMSSetValue","cmi.core.score.max,100");
fscommand ("LMSSetValue","cmi.core.score.raw,85");
[code]....
View 9 Replies
Mar 31, 2011
I created a simple fla with two frames. Frame two has this code below to write a score to the lms (blackboard).I published my fla as scorm 1.2 tracking. I ziped up my files and loaded to lms. It will not write the score. It runs and functions ok but does not write score.[code]
View 4 Replies
Oct 22, 2009
I want to use fscommand to write a local file.
variable = "1235";
path = "file.txt";
fscommand ("save", path);
textbox1.text = "HI"; //just so i know it is getting to this point.
One, does this work on vista? I am running vista so that may be why its not working.
Two, I also heard rumors about it not working in IE7 or higher, is that true?
Three, I also have read that it only works when running the swf file in flash projector, is that true?
View 1 Replies
Aug 17, 2010
We are working on a 3rd party application build on Adobe Flash technology to render business dashboards.This application does'nt offer us to generate the whole code rather it's just a drag n drop of charts, text boxes etc components, and then mapping of data. After all of customizing, the application itself generates an SWF file finally.
What our requirement is we need to make our dashboard(a falsh file) to write a chunk of data, eneterd by user, back into our database by a user action, like a button click. (Access, MySQL, Oracle or any). Now our application offers the FSCOMMAND function call wherein we can enter the command name and args.
Now we need to use this FSCOMMAND function to write back to databases because we believe this is the only option with us within our app. What is the command to write back to a database, and then the arguments. Also, do we need to write any JAVA/VB script for that. Please be informed that our application itself generates the whole SWF file code..all HTML coding. {e.g as we include queryparam, "mapped data", using FSCOMMAND, i can see the whole code generated by the app, the HTML code, wherein I could see embedded Java Script with DO_FScommand statament carrying this queryparam command and args..etc.}
Kindly show us the way to acheive this crucial requirement of ours. We are looking for very elaborative answers as we have less expertise with scripts.
View 5 Replies
Jan 5, 2012
I am writing a text file with batch file and this batch file which is called from fscommand.
I need to pass a parameter from fscommand. Is is possible ?Following is flash and batch file [code]...
View 3 Replies
Aug 25, 2011
I have created a one application in flash cs3.in that application i have to open a pdf file in acrobat reader. i have done with this.to open a dairect file i use a this code.
openPdf1.addEventListener
(MouseEvent.CLICK,
function ():void
{
[code]....
but now when i am going to mac os then this code is not working. means file is not open so how can i open file in mac using this codes.
View 1 Replies