FrameLabelMovieClip and UIFlameLabelMovieClip (Flex), dispatch FrameLabelEvent’s when their playhead encounters a frame label. The FrameLabelEvent contains the FrameLabel object containing the name and frame number of the frame label.
Examples
FrameLabelMovieClipExampleLoadSWF – an example of loading an SWF with our library class and creating an instance of a FrameLabelMovieClip exported from the library.
UIFrameLabelMovieClipExampleSWC – an example of using a SWC in a Flex project that contains a UIFrameLabelMovieClip.
The classes themselves can be downloaded from our Google code library.
Classes
ws.tink.display.FrameLabelMovieClip
ws.tink.events.FrameLabelEvent
ws.tink.flex.flash.UIFrameLabelMovieClip
To enable ease in the Flash IDE I’ve also knocked up an extension that installs 2 utility commands for creating FrameLabelMovieClip’s and UIFrameLabelMovieClip’s. The extension also includes 2 class library components that contain the classes required by FrameLabelMovieClip (FrameLabelMovieClipBase) and UIFrameLabelMovieClip (TinkFlexComponentBase).
Commands
1. Convert Symbol to FrameLabelMovieClip
Creates FrameLabelMovieClip’s for use with Flash IDE and ActionScript 3.0 Projects, out of all the selected MovieClip’s in the library. The command also adds the FrameLabelMovieClipBase component to the library that contains the nessessary classes to compile a SWF or SWC.
2. Convert Symbol to Flex UIFrameLabelMovieClip
Creates UIFrameLabelMovieClip’s for use with the Flex framework out of all the selected MovieClip’s in the library. The command also adds the TinkFlexComponentBase component to the library that conatins the necessary classes to compile a SWF or SWC.
Components
1. FrameLabelMovieClipBase
Contains the necessary classes to use a FrameLabelMovieClip as a base class for a library symbol.
2. TinkFlexComponentBase
Contains the necessary classes to use a UIFrameLabelMovieClip as a base class for a library symbol.
MXI
FrameLabelMovieClip Creator