SlideCuePointListener

Kind of class:class
Inherits from:none
Author:Andrew Guldman
Classpath:mx.controls.streamingmedia.behaviors.SlideCuePointListener
File last modified:Tuesday, 18 December 2007, 15:44:38
This class is a listener for cuePoint events that will move the playhead
of the specified clip to a named frame with the same name as the cuePoint.

Summary


Constructor
Instance properties
Class methods
Instance methods
  • handleEvent (ev:Object) : Void
    • Listen for cuePoint events and move the playhead to the frame

Constructor

SlideCuePointListener

function SlideCuePointListener (
aTarget:Slide)

Constructor.
Parameters:
aTarget :
The clip which has the named frames corresponding to the
cuePoint names.
shouldStop:
If true, then gotoAndStop will be called; otherwise
gotoAndPlay will.

Instance properties

_targetSlide

private _targetSlide:Slide
(read)

Class methods

initializeListener

static function initializeListener (
holder:ICuePointHolder, aTarget:Slide)

Create a listener on the specified cue point holder.
Parameters:
holder :
The holder of cue points
aTarget:
The intended target of the listener

Instance methods

handleEvent

function handleEvent (
ev:Object) : Void

Listen for cuePoint events and move the playhead to the frame
with the same name as the cuePoint.