View Full Version : [AS3] Loading exe. file
01-01-2011, 06:02 PM
I would like to know whether actionscript allow us to load external ".exe", applications file?
01-01-2011, 06:37 PM
Yes, but there are restrictions. You can have a projector that loads an exe from a folder named 'fscommand' that is in the same folder as the projector. There are also restrictions on the filename of the exe you want to launch: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/package.html#fscommand()
The other way is to create an AIR application and use NativeProcess, which isn't as restrictive as fscommand: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html
There are also 3rd party solutions like Zinc that can launch an exe.
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.