henry wyckoff
03-25-2008, 07:31 PM
I Googled and read all the visible articles about the fscommand bug in Flash CS3.
Even trying the hello world type of examples, I got nothing to work. Am I doing something wrong?
I created a test file called Sample.FLA in Flash v. 9, AS 3.0.
I kept it simple. The actionscript layer had only one command:
fscommand("exec","calc.exe");
I made sure to copy the Windows calculator (calc.exe) to a subfolder called fscommand, one layer below Sample.FLA.
Nothing.
I even created a button with associated code:
bLaunch.addEventListener(MouseEvent.CLICK,lanchMe) ;
function launchMe(me:MouseEvent):void {
fscommand("exec","calc.exe");
}
Nothing.
I even tried publishing it as version 8 with AS 2. Nothing.
By nothing, I mean exactly that. No errors. No warnings. Nothing. The Flash Player appeared with everything I placed on the stage, but fscommand didn't show any evidence of working.
I can do anything else I want in Flash, but fscommand is not functional at all.
The forum articles I found were dated as far back as 2002. I would imagine that Adobe would have made some patches or something by now.
Does anyone have any suggestions? I need my Flash app (run as a stand alone or embedded in a web page) to be able to execute specific *.exe files that I name. Calc.exe is the perfect test case. If I can get that to work, then I can hopefully get my other *.exe files to launch as well.
Thanks in advance.
Even trying the hello world type of examples, I got nothing to work. Am I doing something wrong?
I created a test file called Sample.FLA in Flash v. 9, AS 3.0.
I kept it simple. The actionscript layer had only one command:
fscommand("exec","calc.exe");
I made sure to copy the Windows calculator (calc.exe) to a subfolder called fscommand, one layer below Sample.FLA.
Nothing.
I even created a button with associated code:
bLaunch.addEventListener(MouseEvent.CLICK,lanchMe) ;
function launchMe(me:MouseEvent):void {
fscommand("exec","calc.exe");
}
Nothing.
I even tried publishing it as version 8 with AS 2. Nothing.
By nothing, I mean exactly that. No errors. No warnings. Nothing. The Flash Player appeared with everything I placed on the stage, but fscommand didn't show any evidence of working.
I can do anything else I want in Flash, but fscommand is not functional at all.
The forum articles I found were dated as far back as 2002. I would imagine that Adobe would have made some patches or something by now.
Does anyone have any suggestions? I need my Flash app (run as a stand alone or embedded in a web page) to be able to execute specific *.exe files that I name. Calc.exe is the perfect test case. If I can get that to work, then I can hopefully get my other *.exe files to launch as well.
Thanks in advance.