Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2006, 12:21 PM
Junior Member
 
Join Date: May 2006
Posts: 20
Default how to user runApp component?

sorry i am not sure what you write
could you please write an example?

_root.runapp.run().....



2. RunApp

This components helps you to launch external executable files. The "exec" FSCommand of Flash has many restrictions, this component improves it. It has three properties
i) Application - specifies the name of the application to run. E.g.
c:\myapp\test.exe
test.exe
fscommand\test.exe
ii) Parameters - specifies the parameters to be passed to the application to run
iii) Path - It can be one of the following 4 values:
a) Same of the application path: The "Application" method specifies an application in the same folder of the application which the swf movie is about to convert to. Note: the exec fscommand requires the exes to be in the "fscommand" folder, if you're rewriting the fscommand using this component, you must specify the proper exe name. E.g.
fscommand: fscommand("exec", "myapp.exe")
RunApp component: Application: fscommand\myapp.exe; Parametersblank);Path:Same of the app path
Of course you can move all the exe files in the fscommand folder to their parent folder and specify the "Application" property without "fscommand\", for the example, just "myapp.exe", no longer "fscommand\myapp.exe"
b) In the attachment list: the applications are added into the attachment list of SWFKit
c) Absolute path name: the "Application" property specifies a full path name, including the drive name
d) System path: such as notepad, calculator, and so on

Reply With Quote
  #2 (permalink)  
Old 06-08-2006, 02:28 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:how to user runApp component?

We will build two samples for you.
Reply With Quote
  #3 (permalink)  
Old 06-08-2006, 03:07 PM
Junior Member
 
Join Date: May 2006
Posts: 20
Default Re:how to user runApp component?

hi,
You can just tell me how to set properties of runapp .

_root.runapp.Application="sample.exe"
_root.runapp.Parameters=""
_root.runapp.Path="path to the app"
_root.runapp.run() ....not working

_root.runapp.run("sample.exe" ,"","path to the app")...not working too

and why does runapp always execute notepad.exe ?

------------
regards.

Alvin
Reply With Quote
  #4 (permalink)  
Old 06-09-2006, 04:52 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:how to user runApp component?

Please look into the attached sample.
Reply With Quote
  #5 (permalink)  
Old 06-10-2006, 02:13 AM
Junior Member
 
Join Date: May 2006
Posts: 20
Default Re:how to user runApp component?

Thanks.
Reply With Quote
  #6 (permalink)  
Old 12-18-2006, 10:38 AM
Junior Member
 
Join Date: Dec 2006
Posts: 1
Default Re:how to user runApp component?

Quote:
Originally Posted by SWFKIT
Please look into the attached sample.
Is it possible to dynamically fill in the "parameters" parameter??

"..//data//" + txtId.text + "//PPT//" + txtId.text + "//.pps"
Reply With Quote
  #7 (permalink)  
Old 12-21-2006, 01:44 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:how to user runApp component?

Sure, you can add parameters.
Reply With Quote
  #8 (permalink)  
Old 12-25-2006, 04:04 PM
Member
 
Join Date: Oct 2005
Posts: 87
Default Re:how to user runApp component?

I've checked the sample, it says runapp "sample.exe",
but I can't found where the "sample.exe" is!
and the path "myapps"!

I've checked your manual, found no info about component "runapp"

why? what?
Reply With Quote
  #9 (permalink)  
Old 01-07-2007, 07:00 AM
Junior Member
 
Join Date: Jan 2007
Posts: 1
Default Help with web design

Hello.

Nice forum design. Okay, I need your help.
So, I wanna make online-shop, and I am looking for site template.
Can you suggest some online catalog or other resource where I can find many site templates?

It would be better if it will be free
I think many of us have personal sites, do you design it yourself?

Regards, Bill.
Reply With Quote
  #10 (permalink)  
Old 01-15-2007, 06:04 PM
Member
 
Join Date: Sep 2006
Posts: 38
Default Re:how to user runApp component?

Quote:
Originally Posted by alvin3343
hi,
You can just tell me how to set properties of runapp .

_root.runapp.Application="sample.exe"
_root.runapp.Parameters=""
_root.runapp.Path="path to the app"
_root.runapp.run() ....not working

_root.runapp.run("sample.exe" ,"","path to the app")...not working too

and why does runapp always execute notepad.exe ?

------------
regards.

Alvin
Is there any way to use this solution with FLEX 2.0/AS3?

I'm not sure how to install an MXP into Flex.

Any help is appreciated.

Steve


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 03:43 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.