Packagemx.events
Classpublic class CuePointEvent
InheritanceCuePointEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The CuePointEvent class represents the event object passed to the event listener for cue point events dispatched by the VideoDisplay control.

See also

mx.controls.VideoDisplay


Public Properties
 PropertyDefined By
  cuePointName : String
The name of the cue point that caused the event.
CuePointEvent
  cuePointTime : Number
The time of the cue point that caused the event, in seconds.
CuePointEvent
  cuePointType : String
The string "actionscript".
CuePointEvent
Public Methods
 MethodDefined By
  
CuePointEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, cuePointName:String = null, cuePointTime:Number, cuePointType:String = null)
Constructor.
CuePointEvent
Public Constants
 ConstantDefined By
  CUE_POINT : String = cuePoint
[static] The CuePointEvent.CUE_POINT constant defines the value of the type property of the event object for a cuePoint event.
CuePointEvent
Property Detail
cuePointNameproperty
public var cuePointName:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The name of the cue point that caused the event.

cuePointTimeproperty 
public var cuePointTime:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The time of the cue point that caused the event, in seconds.

cuePointTypeproperty 
public var cuePointType:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The string "actionscript".

Constructor Detail
CuePointEvent()Constructor
public function CuePointEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, cuePointName:String = null, cuePointTime:Number, cuePointType:String = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
cuePointName:String (default = null) — The name of the cue point.
 
cuePointTime:Number (default = NaN) — The time of the cue point, in seconds.
 
cuePointType:String (default = null) — The string "actionscript".
Constant Detail
CUE_POINTConstant
public static const CUE_POINT:String = cuePoint

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The CuePointEvent.CUE_POINT constant defines the value of the type property of the event object for a cuePoint event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
cuePointNameThe name of the cue point.
cuePointTimeThe time of the cue point, in seconds.
cuePointTypeThe string "actionscript".
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.