Using ActionScript 3.0 Components |
|
|
|
| About ActionScript 3.0 Components > Finding the version | |||
Flash ActionScript 3.0 components have a version property that you can display if you need to provide it to Adobe Technical Support or you need to know what version of the component you are using.
To display the version number for a user interface component:trace(aCb.version);
The version number, similar to the one in the following illustration, should appear in the Output panel.
.
For the FLVPlayback and FLVPlaybackCaptioning components, you must refer to the class name rather than the instance name because the version number is stored in a class constant.
To display the version number for the FLVPlayback and FLVPlaybackCaptioning components:
import fl.video.*;
trace("FLVPlayback.VERSION: " + FLVPlayback.VERSION);
trace("FLVPLaybackCaptioning.VERSION: " + FLVPlaybackCaptioning.VERSION);
The version numbers, similar to the ones in the following illustration, should appear in the Output panel.
.
FLVPlayback and FLVPlaybackCaptioning version numbers
|
|
|
|