| Package | com.apdevblog.ui.video.controls |
| Class | public class VideoStatusBar |
| Inheritance | VideoStatusBar flash.display.Sprite |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
See also
| Property | Defined By | ||
|---|---|---|---|
| width : Number [override]
statusbar's width. | VideoStatusBar | ||
| Method | Defined By | ||
|---|---|---|---|
VideoStatusBar(width:int, style:ApdevVideoPlayerDefaultStyle)
creates status bar. | VideoStatusBar | ||
updateLoading(fraction:Number):void
updates the visual loading status. | VideoStatusBar | ||
updateMeta(meta:VideoMetadataVo):void
receives video's new meta information. | VideoStatusBar | ||
updatePlaying(fraction:Number):void
adjusts the bar when the video's playing state changed. | VideoStatusBar | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the user scrubs the statusbar. | VideoStatusBar | |||
| Dispatched when the user pressed and released statusbar. | VideoStatusBar | |||
| Dispatched when the user pressed statusbar. | VideoStatusBar | |||
| width | property |
width:Number[override] statusbar's width.
public function get width():Number public function set width(value:Number):void| VideoStatusBar | () | Constructor |
public function VideoStatusBar(width:int, style:ApdevVideoPlayerDefaultStyle)creates status bar.
Parameterswidth:int — bar's initial width
| |
style:ApdevVideoPlayerDefaultStyle |
| updateLoading | () | method |
public function updateLoading(fraction:Number):voidupdates the visual loading status.
Parameters
fraction:Number — percents of the video that are already loaded
|
| updateMeta | () | method |
public function updateMeta(meta:VideoMetadataVo):voidreceives video's new meta information.
Parameters
meta:VideoMetadataVo — video's metadata
|
| updatePlaying | () | method |
public function updatePlaying(fraction:Number):voidadjusts the bar when the video's playing state changed.
Parameters
fraction:Number — percents of the video that are already played
|
| scrub | Event |
com.apdevblog.events.video.VideoControlsEventcom.apdevblog.events.video.VideoControlsEventDispatched when the user scrubs the statusbar.
| seek | Event |
com.apdevblog.events.video.VideoControlsEventcom.apdevblog.events.video.VideoControlsEventDispatched when the user pressed and released statusbar.
| togglePlayPause | Event |
com.apdevblog.events.video.VideoControlsEventcom.apdevblog.events.video.VideoControlsEventDispatched when the user pressed statusbar.