Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2005, 12:20 PM
Junior Member
 
Join Date: Jun 2005
Posts: 6
Default external files, launch a pdf

hi...

what should i do...

i searched and i found a topic in this forum for launch external files, but i cant get it right.

the code on the topic is:
In the action script

Code:

Code:
on (release)
{
    fscommand("ffish_run", "launch");
}


in swfkit add a script named "launch"

Code:

Code:
Shell.open(the external file);
but i do this on my app and it doesnt work, i already tried to make a exe that calls the pdf, but still not work.

i got a main movie "main.swf"
and on attachements:
inside FScommand folder
movie1.swf
movie2.swf
movie1_1.swf
movie2_1.swf
aa.pdf
bb.pdf

i want to open the aa.pdf file by clicking on a button of the movie1.swf

i tried the solution gave to other user of this forum but it doesnt work....

thnaks in advanced

skelterweb

Reply With Quote
  #2 (permalink)  
Old 06-16-2005, 03:16 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:external files, launch a pdf

In the "launch" script

Code:
Shell.open(getAdditionalFile("fscommand\\aa.pdf"));
You can also embed a pdf activex control in your app and use the activex control to open the pdf files.
Reply With Quote
  #3 (permalink)  
Old 06-16-2005, 04:15 PM
Junior Member
 
Join Date: Jun 2005
Posts: 6
Default Re:external files, launch a pdf

;D it works heheh

thanks, thanks
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 01:47 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.