eDition Documentation

  • Increase font size
  • Default font size
  • Decrease font size
Home eDition FLASH API Actions to work with central application

Recommend Print

Actions to work with central application

For buttons in flash files use of event "release" is recommended, as it is carried out exactly when the user release mouse button. This way all programs and operating systems works, and users are accustomed . You can call event ( Movie Clip) or create a button and attach action to it. Do not use »press« event for hyper links, it could run browser’s pop-up blocker.

An example of EVENT RELEASE for Movie Clip

On selected frame add a code:
  MovieClipNAME.onRelease = function () {
      actionCommand(null); // your code here
  };

An example of EVENT RELEASE for Button

Select button and add a code:
  on(release) {
    actionCommand(null); // your code here
  };

Home eDition FLASH API Actions to work with central application