Packagecom.apdevblog.ui.video.controls
Classpublic class VideoTimeLabel
InheritanceVideoTimeLabel Inheritance flash.display.Sprite

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 9

Label displaying the video's current time (ASC or DESC).

See also

ApdevVideoPlayer
ApdevVideoControls


Public Methods
 MethodDefined By
  
creates a label to display already played/still remaining time.
VideoTimeLabel
  
update(time:Number):void
updates the video's time played.
VideoTimeLabel
  
updates video's metadata.
VideoTimeLabel
Public Constants
 ConstantDefined By
  STATE_COUNT_DOWN : String = stateCountDown
[static]
VideoTimeLabel
  STATE_COUNT_UP : String = stateCountUp
[static]
VideoTimeLabel
Constructor Detail
VideoTimeLabel()Constructor
public function VideoTimeLabel(style:ApdevVideoPlayerDefaultStyle)

creates a label to display already played/still remaining time.

Parameters
style:ApdevVideoPlayerDefaultStyle
Method Detail
update()method
public function update(time:Number):void

updates the video's time played.

Parameters

time:Number — time that the video already played

updateMeta()method 
public function updateMeta(meta:VideoMetadataVo):void

updates video's metadata.

Parameters

meta:VideoMetadataVo — video's metadata

Constant Detail
STATE_COUNT_DOWNConstant
public static const STATE_COUNT_DOWN:String = stateCountDown

STATE_COUNT_UPConstant 
public static const STATE_COUNT_UP:String = stateCountUp