Packagecom.apdevblog.ui.video.controls
Classpublic class BtnPlayPause
InheritanceBtnPlayPause Inheritance flash.display.Sprite

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

Button controlling the video's playback state.

See also

ApdevVideoPlayer
ApdevVideoControls


Public Methods
 MethodDefined By
  
creates play/pause button and initializes it.
BtnPlayPause
  
updateState(state:String):void
updates video's playback state (visually).
BtnPlayPause
Constructor Detail
BtnPlayPause()Constructor
public function BtnPlayPause(style:ApdevVideoPlayerDefaultStyle)

creates play/pause button and initializes it.

Parameters
style:ApdevVideoPlayerDefaultStyle
Method Detail
updateState()method
public function updateState(state:String):void

updates video's playback state (visually).

Parameters

state:String — the new ApdevVideoState