Copy link to clipboard
Copied
Hello everyone !
How can I load an external application when a button is clicked using action script 2 ?
I'm not sure what your context or situation is but Flash (nor anything in a sandbox like a webpage) can't load executable files off the filesystem. If you're running this in a projector then you can use the fscommand exec function, see here for more details:
Copy link to clipboard
Copied
I'm not sure what your context or situation is but Flash (nor anything in a sandbox like a webpage) can't load executable files off the filesystem. If you're running this in a projector then you can use the fscommand exec function, see here for more details:
Copy link to clipboard
Copied
I'm now able to load an executable file but cant load another one,I have go 3 buttons,I want these three buttons to load 3 different program when clicked,how is it possible ?
Copy link to clipboard
Copied
Each button runs a separate function. Just as you have your first button code working, copy that code and paste it for each separate button.
In the code, be sure to change the button name to the appropriate button instance names. Then change the fscommand it runs to the proper executable.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now