Packagecom.apdevblog.ui.video.controls
Classpublic class BtnSound
InheritanceBtnSound Inheritance flash.display.Sprite

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

Button controlling the video's sound.

See also

ApdevVideoPlayer
ApdevVideoControls


Public Methods
 MethodDefined By
  
creates fullscreen button and initializes it.
BtnSound
  
updateState(vol:Number):void
updates volume state (visually).
BtnSound
Events
 Event Summary Defined By
  Dispatched when the user changes volume of video.BtnSound
Constructor Detail
BtnSound()Constructor
public function BtnSound(style:ApdevVideoPlayerDefaultStyle)

creates fullscreen button and initializes it.

Parameters
style:ApdevVideoPlayerDefaultStyle
Method Detail
updateState()method
public function updateState(vol:Number):void

updates volume state (visually).

Parameters

vol:Number — video's current volume

Event Detail
setVolume Event
Event Object Type: com.apdevblog.events.video.VideoControlsEvent
VideoControlsEvent.type property = com.apdevblog.events.video.VideoControlsEvent

Dispatched when the user changes volume of video.