I've searched on stackoverflow, but didn't find anything, and looked through the as3 documentation with the same result.
I want to do something like C's system();
or PHP's shell_exec(")
.
Is this possible? How?
I've searched on stackoverflow, but didn't find anything, and looked through the as3 documentation with the same result.
I want to do something like C's system();
or PHP's shell_exec(")
.
Is this possible? How?
Flash is client-side so you cannot call an executable on the server directly.
You could however create a PHP File on the server that would run your executable. Then you can launch this script from Flash using URLLoader:
var urlLoader:URLLoader = new URLLoader();
var urlRequest:URLRequest = new URLRequest('http://example.com/somescript.php');
urlLoader.load(urlRequest);