Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2003, 09:22 PM
Junior Member
 
Join Date: May 2003
Posts: 3
Default How to run a pdf document within projector ?

:-[ Hello,

This might be easy question to most of you. But to me, I've been trying very hard to get this thing through. Please excuse me as I'm new in this software.

Ok, my question is how to run a pdf document or exe file within Flash projector that is compiled with SWFKit ? Below are the codes that I've created. Please help me to get this through. Thanks in advance.

In Flash, I've created a button and here are the codes in the button:

on (release) {
fscommand("FFish_Run", "DW4_tutorial");
}

In SWFKit, I've added a script called "DW4_tutorial" and here are the codes:

var path = getAppDir();
path += "Reference\\Dreamweaver 4\\DW4_tutorial.pdf";
//trace(path);
//Dialogs.msgBox(path);
app = Shell.run(path);

I've placed the compiled projector in the root directory. I've used the Dialogs.msgBox() function to test the path and the path is absolutely correct. But the pdf document doesn't launch. Can anyone please help me to find out what went wrong with these codes ?

Thank you very much.
Reply With Quote
  #2 (permalink)  
Old 05-09-2003, 10:13 PM
Junior Member
 
Join Date: May 2003
Posts: 3
Default Re: How to run a pdf document within projector ?

Hello,

Sorry everybody. I've used the wrong function. The function "Shell.run" is only meant for running exe file. To open pdf or other documents, I should used "Shell.open".

Anyway, thanks.
Reply With Quote
  #3 (permalink)  
Old 05-10-2003, 07:21 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re: How to run a pdf document within projector ?

you can also let the pdf file display in your projector.
All you have to do is insert an ActiveX control.
If you want more details, I can mail you an example.
Reply With Quote
  #4 (permalink)  
Old 05-11-2003, 07:59 AM
Junior Member
 
Join Date: May 2003
Posts: 3
Default Re: How to run a pdf document within projector ?

Hi meester,

Thanks for replying. I would like to learn more on how to display pdf in Flash projector. Can you send me some example on this topic ? My email address is alaster2@hotmail.com. Thanks in advance.
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 05:53 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.