Packageat.modules
Classpublic class VideoModule
InheritanceVideoModule Inheritance mx.containers.Panel
Implementsmx.binding.IBindingClient



Public Properties
 PropertyDefined by
  fastForwardInterval : Number = 0.10
How frequently the fast forward button executes.
VideoModule
  rewindInterval : Number = 0.10
How frequently the fast forward button executes.
VideoModule
  volumeControlWidth : Number
VideoModule
  volumeLevel : Number
The volume level of the video currently loaded into the Module.
VideoModule
Public Methods
 MethodDefined by
  
destroy():void
Removes event listeners and unloads the video.
VideoModule
  
formatter(value:Number):String
Formats the volume slider tool tip.
VideoModule
  
mute():void
Mutes the currently loaded video.
VideoModule
  
pause():void
Pauses the currently loaded video.
VideoModule
  
play():void
Plays the loaded video.
VideoModule
  
stop():void
Stops the currently loaded video.
VideoModule
Protected Methods
 MethodDefined by
  
Called by the fast forward button to fast forward the video.
VideoModule
  
rewindVideo():void
Called by the rewind button to rewind the video.
VideoModule
Events
 EventSummaryDefined by
   Dispatched when the video is finished playing.VideoModule
   Disptached when the Module hits a cue point in the video.VideoModule
   Dispatched when the video is paused.VideoModule
   Dispatched when the video updates its playhead.VideoModule
   Dispatched when the video is playing.VideoModule
   Dispatched when the video is ready to be played and its metadata has been loaded to be able to identify width/height and other attributes.VideoModule
   Dispatched when the video is stopped.VideoModule
Property detail
fastForwardIntervalproperty
public var fastForwardInterval:Number = 0.10

How frequently the fast forward button executes.

The default value is 0.10.

rewindIntervalproperty 
public var rewindInterval:Number = 0.10

How frequently the fast forward button executes.

The default value is 0.10.

volumeControlWidthproperty 
volumeControlWidth:Number  [read-write]

Implementation
    public function get volumeControlWidth():Number
    public function set volumeControlWidth(value:Number):void
volumeLevelproperty 
volumeLevel:Number  [read-write]

The volume level of the video currently loaded into the Module.

The default value is 1.0.

Implementation
    public function get volumeLevel():Number
    public function set volumeLevel(value:Number):void
Method detail
destroy()method
public function destroy():void

Removes event listeners and unloads the video.

fastForwardVideo()method 
protected function fastForwardVideo():void

Called by the fast forward button to fast forward the video.

formatter()method 
public function formatter(value:Number):String

Formats the volume slider tool tip.

Parameters
value:Number — value from the slider.

Returns
String
mute()method 
public function mute():void

Mutes the currently loaded video.

pause()method 
public function pause():void

Pauses the currently loaded video.

play()method 
public function play():void

Plays the loaded video.

rewindVideo()method 
protected function rewindVideo():void

Called by the rewind button to rewind the video.

stop()method 
public function stop():void

Stops the currently loaded video.

Event detail
completeevent 
Event object type: mx.events.VideoEvent

Dispatched when the video is finished playing.

cuePointevent  
Event object type: mx.events.CuePointEvent

Disptached when the Module hits a cue point in the video.

pausedevent  
Event object type: mx.events.VideoEvent

Dispatched when the video is paused.

playheadUpdateevent  
Event object type: mx.events.VideoEvent

Dispatched when the video updates its playhead.

playingevent  
Event object type: mx.events.VideoEvent

Dispatched when the video is playing.

readyevent  
Event object type: mx.events.VideoEvent

Dispatched when the video is ready to be played and its metadata has been loaded to be able to identify width/height and other attributes.

stoppedevent  
Event object type: mx.events.VideoEvent

Dispatched when the video is stopped.