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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can swf be used to open PDF

Status
Not open for further replies.

LeannW

Technical User
Oct 9, 2002
2
US
We are trying to make an swf intro for a CD project. We need to make a behavior(?) that links to a PDF file. Is this possible?

I'm using v.1.0.2.14. Does v.2 have this capability.
 
Hi LeannW,

Yes either Live Motion V.1 or V.2 can link to a pdf. In LM version 1, you would use the getURL behaviour:

getURL('file.pdf','_blank');

Just replace with the complete file location on the CD. The '_blank' would be used to open the .pdf in a new window, if that's what you desire.

Hope this helps you.
 
I tried that but it opened the PDF in Acrobat Reader inside a browser window. Do you know how to get it to just open Reader?
 
LeannW,

I believe this command will launch your application, but only in the Standalond Flash Player, not from a web page.

getURL("fscommand: exec", applicationName)

applicationName:string which is the absolute path for the application to launch

Celeste
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top