Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button to open file on CD

Status
Not open for further replies.

tclyce

Programmer
Aug 22, 2003
3
US
I have a flash app running off of a disc and am running into some button issues. I need to be able to have buttons that when clicked open a PDF file located on the disc. Sounds simple enough, huh? I must be missing something....

Any help is greatly appreciated!
 
did you remember to add acrobat reader to the disc...both pc and mac versions
 
Yup. My problem is that I'm having issues writing the code to make the darn button open the file. Why is it always the simple things that get us? :)
 
What is the code you are using?
To open a specific file you must use a batch file, called in the fscommand "exec". This batch file must be located in a direct "fscommand" subfolder to the folder in which your projector file is located.


Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top