Or is it possible in Flash?
views:
24answers:
2Is there a workaround?
wamp
2010-08-11 01:55:06
@wamp tell us what you want to do - which program are you trying to call?
Amarghosh
2010-08-11 03:40:54
It's **flash media live encoder**.
wamp
2010-08-11 07:07:51
No, there's no workaround. This is not possible.
Cory Petosky
2010-08-11 18:03:22
A:
Adobe Air is the only means of accessing client side applications from ActionScript.
See my answer here: http://stackoverflow.com/questions/3275746/air-sub-applications/3409060#3409060
Tegeril
2010-08-11 03:02:08
Can I automate the installation of an independant programe with Air,like **flash media live encoder**?
wamp
2010-08-11 07:09:37
Air is able to provide command line parameters and tell a process to run. At that point, it can monitor output, or close the process. If you can get that to install with that level of control, then yes. It cannot control GUI interactions, so it is up to the installer whether it can be run in a silent mode. Though I believe the user will be presented with any GUI options if they are spawned, so it can definitely start the sequence of events needed to install something.
Tegeril
2010-08-11 13:10:39
But I need to get the full path to that programe to call it,right?How can I retrieve it programatically with air?
2010-08-11 19:57:00
You can either have the user browse for and select it using a File object or similarly using the File object, retrieve the path to the applications directory and resolve the remainder relatively.
Tegeril
2010-08-11 20:14:28
Just to keep everything clear, Air generates standalone applications and does not run in the browser.
Tegeril
2010-08-11 20:15:05