Packageartcustomer.framework.engines.layers
Classpublic class LayerVideo
InheritanceLayerVideo Inheritance flash.events.EventDispatcher
Implements ILayer

LayerVideo : StageVideo Layer



Public Methods
 MethodDefined By
  
Constructor
LayerVideo
  
destroy():void
Destroy LayerVideo.
LayerVideo
  
onCuePoint(info:Object):void
Client : On Cue Point.
LayerVideo
  
onMetaData(info:Object):void
Client : On MetaData received.
LayerVideo
  
onPlayStatus(info:Object):void
Client : On Play Status.
LayerVideo
  
onRender():void
Called when RenderEngine is rendering.
LayerVideo
  
onResize():void
Called when player window is resized.
LayerVideo
  
onXMPData(info:Object):void
Client : On XMPData received.
LayerVideo
  
pause():void
Pause current stream if playing.
LayerVideo
  
play(stream:String):void
Play Stream on StageVideo.
LayerVideo
  
ready():void
Call when StageVideo is available and ready.
LayerVideo
  
resume():void
Resume current stream if playing.
LayerVideo
  
seekByStep(step:Number):void
Seek stream by step.
LayerVideo
  
seekOffset(offset:Number):void
Seek stream by offset.
LayerVideo
  
setScaleSize(size:int, scaleType:String):void
Set video scaled size if scaleOnStage property is false.
LayerVideo
  
setSize(width:int, height:int):void
Set video size if scaleOnStage property is false.
LayerVideo
  
setup():void
Setup LayerVideo.
LayerVideo
  
setVolume(value:Number):void
Set sound volume.
LayerVideo
  
setVolumeByStep(step:Number):void
Set sound volume by step.
LayerVideo
  
stop():void
Stop current stream if playing.
LayerVideo
  
toggle():void
Toggle current stream if playing.
LayerVideo
Events
 Event Summary Defined By
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
  LayerVideo
Constructor Detail
LayerVideo()Constructor
public function LayerVideo()

Constructor

Method Detail
destroy()method
public function destroy():void

Destroy LayerVideo. Must be overrided and call at last in child.

onCuePoint()method 
public final function onCuePoint(info:Object):void

Client : On Cue Point.

Parameters

info:Object

onMetaData()method 
public final function onMetaData(info:Object):void

Client : On MetaData received.

Parameters

info:Object

onPlayStatus()method 
public final function onPlayStatus(info:Object):void

Client : On Play Status.

Parameters

info:Object

onRender()method 
public final function onRender():void

Called when RenderEngine is rendering. Don't call it !

onResize()method 
public final function onResize():void

Called when player window is resized. Don't call it !

onXMPData()method 
public final function onXMPData(info:Object):void

Client : On XMPData received.

Parameters

info:Object

pause()method 
public final function pause():void

Pause current stream if playing.

play()method 
public final function play(stream:String):void

Play Stream on StageVideo.

Parameters

stream:String

ready()method 
public function ready():void

Call when StageVideo is available and ready. Must be overrided and used to start playing video.

resume()method 
public final function resume():void

Resume current stream if playing.

seekByStep()method 
public final function seekByStep(step:Number):void

Seek stream by step.

Parameters

step:Number

seekOffset()method 
public final function seekOffset(offset:Number):void

Seek stream by offset.

Parameters

offset:Number

setScaleSize()method 
public final function setScaleSize(size:int, scaleType:String):void

Set video scaled size if scaleOnStage property is false.

Parameters

size:int
 
scaleType:String — : 'scaleOnWidth' / 'scaleOnHeight' on LayerVideoScaleType.

setSize()method 
public final function setSize(width:int, height:int):void

Set video size if scaleOnStage property is false.

Parameters

width:int
 
height:int

setup()method 
public function setup():void

Setup LayerVideo. Must be overrided and called at first in child.

setVolume()method 
public final function setVolume(value:Number):void

Set sound volume.

Parameters

value:Number — : Between 0 and 1

setVolumeByStep()method 
public final function setVolumeByStep(step:Number):void

Set sound volume by step.

Parameters

step:Number — : Between 0 and 1

stop()method 
public final function stop():void

Stop current stream if playing.

toggle()method 
public final function toggle():void

Toggle current stream if playing.

Event Detail
layerVideoAvailable Event
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoBufferEmpty Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoBufferFlush Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoBufferFull Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoChangeVolume Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoDestroy Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoError Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoMetaDataReceived Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoOnStream Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoPauseStream Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoPlayStream Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoReady Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoRender Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoResumeStream Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoSetup Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoStopStream Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent

layerVideoStreamNotFound Event  
Event Object Type: artcustomer.framework.events.LayerVideoEvent