PDA

View Full Version : fscommand problem


tophers78
07-20-2007, 03:33 PM
I am creating a CD-based Flash presentation using a Windows projector. I am attempting to use fscommand to open a pdf file on my CD using Acrobat Reader.

When the user clicks a link, it calls a function containing:
fscommand("exec", "openMyPDF.bat");

I have a specific folder named "fscommand" in the same directory as my .exe file. It containts that .bat files that call the specific pdf's.

My problem is that this seems to work in a Flash 7 projector, but does not work when I save my work in a Flash 9 projector. But I cannot find any documentation specifying that this no longer works in a Flash 9 projector, (I'm working in Flash CS3 on a Mac).

Does anyone know what is happening or what I might be doing wrong?

thanks,
tophers

CyanBlue
07-20-2007, 03:40 PM
Is this similar issue???
http://www.johanvanmol.org/content/view/50/41/

Can you try F8 projector route to see if that solves problem??? I can't be of much help because I don't have CS3/Mac...

tophers78
07-20-2007, 03:52 PM
Yeah, that seems to be what I'm dealing with. Thanks. I also managed to find another thread dealing with this problem:

http://www.actionscript.org/forums/archive/index.php3/t-135877.html

Seems they're suggesting that using a .exe file in the fscommand folder rather than a .bat file should work. Unfortunately, I'm not exactly sure how to go about creating a .exe file that acts like a .bat file.

I'll see about the Flash 8 solution and see if that works first.

thanks for your help.

CyanBlue
07-20-2007, 03:59 PM
Google with 'bat2exe' and I think you can find some free ones out there... ;)

northcode
08-29-2007, 06:03 AM
Sorry to revive this post, but Adobe did break support for BAT files in CS3. I've chronicled the sadness here too http://www.northcode.com/blog.php/2007/08/14/FSCommand-EXEC-is-Broken-in-Flash-CS3 but if you read far enough you'll find a FREE solution to get around the issue, for the PC anyway ;)

CyanBlue
08-29-2007, 01:56 PM
Ouch... That suck... Thanks for the info, northcode... ;)