Greetings all, I am trying to use fscommand in a Flash file to open a through a batch file. The ActionScript in my Flash movie is attached to a button. Fscommand EXEC Tutourial (executing external files). Yo, people! Boy, what a day I’ve had. I went all over the Flash Kit boards, looking for help. fscommand(“exec”,” /C start “); I have pdf files in the root directory with the projector file as well as a sub directory called ‘fscommand’.
|Published (Last):||17 September 2007|
|PDF File Size:||14.41 Mb|
|ePub File Size:||3.23 Mb|
|Price:||Free* [*Free Regsitration Required]|
I can succesfully open other exe s like Windows Media Player.
The last restriction doesn’t really concern us, but if you’re trying to test your EXEC calls, being aware of it will save you some frustration. The Tek-Tips staff will check this out and take appropriate action. At the same time, I needed to retain the directory structure that each of the content pieces relied on.
And this is the code. As far as calling ecexcuatble is concerned, what version of flash are you using? Contact us today for an hourly or fixed price quote. I have trouble with my folder structure, take a look: Notice how the path parameter tscommand not explicity refer to the fscommand folder.
This produced a problem. Hope that can help. Sounds like a big breakthrough. So, our batch file is obviously calling the nameaddress Anyone got any ideas because if I can’t get this to work then the menu I’m working on is pretty pointless You can use getURL to open most documents, but sometimes the document opens behind the projector.
I’ve tried dozens of test, and nothing has worked yet.
In AIR calling external exe would be very easy, in Flash Projector there’s always a security sandbox issue possible. Do you have to use Flash Projector? This change made it impossible for anyone to create any new Flash based viruses, but it also crippled the Flash projector as a tool for legitimate users by instantly rendering many free projector extension tools useless.
By joining you are opting in to receive e-mail. To start viewing messages, select the forum that you want to visit from the selection below. The time now exdc Sign up using Email and Password. I remember reading somewhere it said that Flash Player 6 won’t allow fcsommand to launch exe files as a security measure.
It then looks for a BAT file in the same directory with the same base name, i. If you rename the proxy utility to xyz. You must give the fecommand “exec” and the filename to execute an external file.
Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden. But it works, probably wrong syntax of giving folder path. I don’t know why a flash projector can not open another one!! Here’s what I have working: Power To Spare Are you on a tight schedule?
The solution is to create a batch file. It will launch PDF’s.
Conquering FSCommand EXEC
Thank you once again. If a BAT file with the same name can’t be found, proxy will just fail silently. This fscommand folder must be located in the same directory as the Flash projecter file that issues the fscommand call. Boy, what a day I’ve had.
Aaron West’s Technology Blog: FSCOMMAND “exec” and Subfolders
Regards David Byng www. You don’t have to store the files you want to open in the fscommand folder, but for your first test this makes things easier. I’m subscribing to your RSS, hehe. March 30, Download: Do you have a difficult problem you need help with? I have seen that the external file must be under the folder fscommand. It was filed in the following categories: You know, so bitmaps aren’t all pixelated.