Package | at.modules |
Class | public class VideoModule |
Inheritance | VideoModule ![]() |
Implements | mx.binding.IBindingClient |
Property | Defined 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 |
Method | Defined 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 |
Method | Defined by | ||
---|---|---|---|
fastForwardVideo():void
Called by the fast forward button to fast forward the video.
| VideoModule | ||
rewindVideo():void
Called by the rewind button to rewind the video.
| VideoModule |
Event | Summary | Defined 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 |
fastForwardInterval | property |
public var fastForwardInterval:Number = 0.10
How frequently the fast forward button executes.
The default value is 0.10
.
rewindInterval | property |
public var rewindInterval:Number = 0.10
How frequently the fast forward button executes.
The default value is 0.10
.
volumeControlWidth | property |
volumeControlWidth:Number
[read-write]Implementation
public function get volumeControlWidth():Number
public function set volumeControlWidth(value:Number):void
volumeLevel | property |
volumeLevel:Number
[read-write]The volume level of the video currently loaded into the Module.
The default value is 1.0
.
public function get volumeLevel():Number
public function set volumeLevel(value:Number):void
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.
Parametersvalue:Number — value from the slider.
|
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.
complete | event |
cuePoint | event |
mx.events.CuePointEvent
Disptached when the Module hits a cue point in the video.
paused | event |
playheadUpdate | event |
playing | event |
ready | event |
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.
stopped | event |