Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2005, 04:09 AM
Junior Member
 
Join Date: Aug 2004
Posts: 27
Default How to open external exe, doc, xls without using fscommand

:-[ :-[ :-[

Dear TopCMM,
Have a Nice Day

I'm using swfkit pro & I use fscommnad to open external files such as exe, doc, xls ...etc. but it is not that good in opening external files due to the delay of the opening time & the "DOS" screen that appears at the begining of the command so, is there is another way to open external files without using fscommand

Note: I have tried the following method but it didn't work ???

"In the action script

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




in swfkit add a script named "launch"

Code:
Code:
Shell.open(getAdditionalFile("fscommand\\file name"));
"

??? ??? ???


Please help

Best Regards
MultiDesign
Reply With Quote
  #2 (permalink)  
Old 06-27-2005, 09:22 AM
Junior Member
 
Join Date: Feb 2005
Posts: 6
Default Re:How to open external exe, doc, xls without using fscommand

You better use Shell.Open instead of using fsCommand. Here it is...

Shell.open(getAppDir()+"\\urFileName")

Happy programming
Reply With Quote
  #3 (permalink)  
Old 06-27-2005, 02:35 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:How to open external exe, doc, xls without using fscommand

Hi, multidesign

The method you mentioned should work.

If your external files are not added into the attachment list of your swfkit project, you must use the "getAppDir" method instead of the "getAdditionalFile" method, just like what jatin_anand pointed out. In this case, the script should be
Code:
Shell.open(getAppDir()+"\\fscommand\\urFileName");
The following sample shows how to open an external file packed into the exe file
Reply With Quote
  #4 (permalink)  
Old 06-27-2005, 03:05 PM
Junior Member
 
Join Date: Aug 2004
Posts: 27
Default Re:How to open external exe, doc, xls without using fscommand


Dear TopCMM,
Have a nice day

Thank you very much for your help, I tried the codes you sent & they worked perfectly ;D ;D ;D

So, thank you again very much
You helped me alot

Best Regards
MultiDesign
Reply With Quote
  #5 (permalink)  
Old 09-14-2005, 02:43 PM
Member
 
Join Date: Sep 2005
Posts: 31
Default help me also please

Can u tell me the whole procedure to call open pdf file

i will very thankful to u
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 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.