Hi
MacArtist6, I can help and it won't cost you a cent ;) If you know your users already have Acrobat on their machine then you're golden, the solution is easy and I have some FREE tools that you can use to help.
The START command on Win9x/ME is implemented as an EXE file. On NT/2K/XP it's an intrinsic command so the way you call it on each system is different. To get around this you can get a copy of my INVOKE utility from
www.extendingflash.com and use it like this from a BAT file.
Code:
invoke.exe open \files\pdf1.pdf
Now you can't call this from Flash directly because Flah MX and MX04 don't allow you to use chr(9) or spaces in command line like Flash 5 did (like in the examples on the extendingflash web site). Instead you put that command in a BAT file and use my PROXY utility.
Proxy is a FREE tool I wrote that will let you run BAT files from Flash and avoid the ugly DOS box. You can download the utility from
www.northcode.com/misc/proxy.zip. There's documentation in the ZIP file, and (as Whispers pointed out) there was a big discussion about it (and some other utilities I wrote) in this thread...
http://www.flashkit.com/board/showth...hreadid=519274
So you take a copy of PROXY.EXE and rename it to PDF1.EXE and put the commands from the code block above in a file called PDF1.BAT and put both of these files (and INVOKE.EXE) in a folder called "FSCommand" in the root of your CD along with your projector. The example BAT file assumes there is a folder in the root of the CD called "files" where all your PDF files are.
You can change the location of the PDF files (just remember to update the BAT file). You can change where the FSCommand folder and your projector are on the CD, the only restriction is that they both have to be in the same folder.
Now to open your PDF file from Flash you can just put this in the on(release) event for your button...
Code:
on (release) {
fscommand("exec", "pdf1.exe");
}
Create PDF2.EXE and PDF2.BAT, then PDF3.EXE and PDF3.BAT and repeat for each button and PDF file you want to open and you're done.
If you want to integrate this with the MAC side of things you should read this thread
http://www.flashkit.com/board/showth...hreadid=539618 and check out the SmartExec function I wrote to help pjutter do pretty much the same thing you're trying to do now.
I'll be checking in here over the holidays if you need more help with this...