Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2009, 09:15 PM
Junior Member
 
Join Date: Apr 2009
Posts: 1
Question How do I open a PDF resources from a SWFKit exe



I'm using SWFKit Pro 3.21 and I'm not quite sure what it takes to open a packaged PDF resource file can some one give me the ffish script plus the the action script for my flash button.

Here is what I have on my flash button now:

on (release) {
fscommand("ffish_run", "openpdf");
}

and this in my SWFKit script:

//Initialize
Shell.open(getAppDir() + "2_3_2 OTC_video.pdf");
getAdditionalFile("2_3_2 OTC_video.pdf");
return true;

Thanks

Last edited by The Wiggidy; 04-22-2009 at 09:37 PM.
Reply With Quote
  #2 (permalink)  
Old 04-23-2009, 07:23 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default

To open a pdf file outside the flash projector (not embedded) I'ld use

in flash

Code:
on(release){
flash.external.ExternalInterface.call("OpenPdf")
}
and in the swfkit initialize script
Code:
getAdditionalFile()

function OpenPdf(){
Shell.open(getAdditionalFile("2_3_2 OTC_video.pdf"))
} return true

Last edited by meester; 04-23-2009 at 07:52 AM.
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:49 PM.


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.