0
how to create a button to load an external exe file
New Here
,
/t5/animate-discussions/how-to-create-a-button-to-load-an-external-exe-file/td-p/5290370
Jul 28, 2013
Jul 28, 2013
Copy link to clipboard
Copied
hi
i have an flash cs5 project
so the user when clicking the button the exe file open ?
the exe in folder name "puzz"
the exe file name play.exe
i tried this
button_1.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
{
flash.system.fscommand("exec","//puzz//play.exe");
trace ("done");
}
but nothing happen!
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/animate-discussions/how-to-create-a-button-to-load-an-external-exe-file/m-p/5290371#M137755
Jul 28, 2013
Jul 28, 2013
Copy link to clipboard
Copied
play needs to be in a folder called fscommand or you need to use a proxy file in the fscommand folder to call play.exe
read the flash help files to understand some of the basics of fscommand.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

