Creates a dialog window that plays a Flash movie.
The dialog contains ScriptUI components, including control buttons and a FlashPlayer element.
Loads the Flash movie, an SWF file, into the FlashPlayer component using control's loadMovie() function. The 'file' parameter must be a valid ExtendScript File object that references any type of Flash file.
Start and stop buttons in the palette control playback using the FlashPlayer control's stopMovie() and 'playMovie() methods. Stop pauses the move, and Start restarts it from the point at which it paused.
See the JavaScript Tools Guide for details of when you can call the stopMovie() and playMove() functions.
Public Member Functions | |
| void | UsingFlashPlayer () |
| Boolean | run () |
| Functional part of this snippet. | |
| Boolean | canRun () |
| Determines whether snippet can be run given current context. | |
Public Attributes | |
| File | flashFile |
| The Flash movie to load into the dialog window. | |
| String | requiredContext |
| The context in which this snippet can run. | |
| int | paletteRef |
| void UsingFlashPlayer::UsingFlashPlayer | ( | ) |
| Boolean UsingFlashPlayer::run | ( | ) |
Functional part of this snippet.
Creates a dialog window and adds the ScriptUI components to it. Creates event handlers for the buttons that control the playback.
| Boolean UsingFlashPlayer::canRun | ( | ) |
Determines whether snippet can be run given current context.
The snippet fails if these preconditions are not met:
The Flash movie to load into the dialog window.
The context in which this snippet can run.


Copyright© 2008 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks