Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Load an external aplication.

New Here ,
Oct 21, 2015 Oct 21, 2015

Hello everyone !

How can I load an external  application when a button is clicked using action script 2 ?

TOPICS
ActionScript
623
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 22, 2015 Oct 22, 2015

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:

Flash CS4 Professional ActionScript 2.0

Translate
LEGEND ,
Oct 22, 2015 Oct 22, 2015

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:

Flash CS4 Professional ActionScript 2.0

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 22, 2015 Oct 22, 2015

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 ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 22, 2015 Oct 22, 2015
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines