Packagecom.adobe.mediacore.events
Classpublic final class VideoEngineContentChangedEvent
InheritanceVideoEngineContentChangedEvent Inheritance flash.events.Event

Event dispatched by the video engine when its status changes.



Public Properties
 PropertyDefined By
  newContentId : int
[read-only] The content id currently playing.
VideoEngineContentChangedEvent
  oldContentId : int
[read-only] The content id that was previously playing.
VideoEngineContentChangedEvent
  time : Number
[read-only]
VideoEngineContentChangedEvent
Public Methods
 MethodDefined By
  
VideoEngineContentChangedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, newContentId:int = -1, oldContentId:int = -1, time:Number = 0)
Default constructor.
VideoEngineContentChangedEvent
  
clone():Event
[override]
VideoEngineContentChangedEvent
  
create(newContentId:int, oldContentId:int, time:Number):VideoEngineContentChangedEvent
[static] Factory method.
VideoEngineContentChangedEvent
Public Constants
 ConstantDefined By
  CONTENT_CHANGED : String = contentChanged
[static] Event dispatched when the video engine change its status.
VideoEngineContentChangedEvent
Property Detail
newContentIdproperty
newContentId:int  [read-only]

The content id currently playing.


Implementation
    public function get newContentId():int
oldContentIdproperty 
oldContentId:int  [read-only]

The content id that was previously playing.


Implementation
    public function get oldContentId():int
timeproperty 
time:Number  [read-only]


Implementation
    public function get time():Number
Constructor Detail
VideoEngineContentChangedEvent()Constructor
public function VideoEngineContentChangedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, newContentId:int = -1, oldContentId:int = -1, time:Number = 0)

Default constructor.

Parameters
type:String — Event type.
 
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.
 
newContentId:int (default = -1) — Content identifier that is currently playing
 
oldContentId:int (default = -1) — Content identifier that was previously playing
 
time:Number (default = 0) — Time when the content changing has occurred.
Method Detail
clone()method
override public function clone():Event

Returns
Event
create()method 
public static function create(newContentId:int, oldContentId:int, time:Number):VideoEngineContentChangedEvent

Factory method.

Parameters

newContentId:int — Content identifier that is currently playing
 
oldContentId:int — Content identifier that was previously playing
 
time:Number — Time when the content changing has occurred.

Returns
VideoEngineContentChangedEvent — a valid VideoEngineContentChangedEvent instance
Constant Detail
CONTENT_CHANGEDConstant
public static const CONTENT_CHANGED:String = contentChanged

Event dispatched when the video engine change its status.