About using FLV video 615
7. Select Control > Test Movie to test the SWF file.
The elapsed time appears in the TextArea instance when the playhead passes each cue
point embedded in the document.
For more information on working with the FLVPlayback component, see “FLVPlayback
Component (Flash Professional Only)” on page 489.
Creating cue points with ActionScript to use with components
(Flash Professional only)
You can create cue points with ActionScript, and then use them with a video object instance,
or one of the video player components (FLVPlayback for Flash Player 8, or MediaPlayback
for Flash Player 7). The following examples show you how easy it is to use ActionScript code
to create cue points, and then use a script to access them.
To create and use cue points with the FLVPlayback component:
1. Create a new Flash document called cueFlvPb.fla.
2. Drag an instance of the FLVPlayback component from the Components panel (Window
> Components) to the Stage.
The component is in the FLVPlayback - Player 8 folder.
3. Select the component and open the Property inspector (Window > Properties >
Properties).
4. Type my_flvPb in the Instance Name text box.
5. Drag an instance of the TextArea component from the Components panel to the Stage.
6. Select the TextArea component and type my_ta in the Instance Name text box.
7. With the TextArea component still selected, type 200 in the width text box and 100 in the
height text box.
NOTE
Embed navigation cue points in a document if you intend to add navigation functionality
to an application. For more information, see “Working with cue points” on page 611. For
an example of working with embedded cue points, see “Using embedded cue points with
the FLVPlayback component (Flash Professional only)” on page 614.