Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2007, 10:28 AM
Junior Member
 
Join Date: May 2007
Posts: 22
Default how can I open a *.pdf from DVD

Hello,

I have a standalone *.exe launching my application from DVD.
In one of my *swf files, I have a button with "on (release) {}". Here I would like to put a code to launch a *.pdf file which is located on the DVD in the same directory as my *swf file.

Could you pls. tell me what code I have to put.

The name of my *.swf file is = Türkei_entdecken-Türkei_leben.pdf

Thank you for any help,
Walter
Reply With Quote
  #2 (permalink)  
Old 11-25-2007, 09:28 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: how can I open a *.pdf from DVD

in on(release) call a ffish script like
fscommand("ffish_run", "openpdf");

and then insert a "openpdf" script in swfkit, in which add the following code
Code:
Shell.open(getAppDir() + "Türkei_entdecken-Türkei_leben.pdf");
Please make sure that the Adobe acrobat reader has been installed.
Reply With Quote
  #3 (permalink)  
Old 11-26-2007, 07:29 AM
Junior Member
 
Join Date: May 2007
Posts: 22
Default Re: how can I open a *.pdf from DVD

Hello,

THX, working now!
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.