MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 670

Components language reference
Table of Contents

Advertisement

Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of the
Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
function ready(eventObject:Object) {
my_FLVPlybk.setFLVCuePointEnabled(false, "point2");
my_FLVPlybk.setFLVCuePointEnabled(false, 16.02);
}
my_FLVPlybk.addEventListener("ready", ready);
function cuePoint(eventObject:Object) {
trace("Cue point name is: " + eventObject.info.name);
trace("Cue point time is: " + eventObject.info.time);
}
my_FLVPlybk.addEventListener("cuePoint", cuePoint);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
See also
FLVPlayback.cuePoint
FLVPlayback.findNearestCuePoint()
FLVPlayback.isFLVCuePointEnabled()
FLVPlayback.seekToNextNavCuePoint()
FLVPlayback.setScale()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVplybk.setScale(xs:Number, ys:Number)
Parameters
A number representing the horizontal scale.
xs
A number representing the vertical scale.
ys
Returns
Nothing.
668
FLVPlayback Component (Flash Professional Only)
,
FLVPlayback.findCuePoint()
,
FLVPlayback.findNextCuePointWithName()
,
FLVPlayback.seekToNavCuePoint()
,
FLVPlayback.seekToPrevNavCuePoint()
,
,
,

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents