VideoDisplay

Kind of class:public class
Package:com.bourre.media.video
Inherits from:AbstractLoader
Implements:
Version:1.0
Author:Aigret Axel
Classpath:com.bourre.media.video.VideoDisplay
File last modified:Monday, 24 November 2008, 11:36:45

Summary


Constructor
  • VideoDisplay (name:String = null, video:Video = null, autoPlay:Boolean = true, autoSize:Boolean = true, bufferTime:Number = 2, soundTransform:SoundTransformInfo = null)
Instance properties
Class methods
Instance methods
Event handlers
  • onTick (e:Event = null) : void
    • Method called by the {VISDOC_CODE_BLOCK_5} for each

Constructor

VideoDisplay

public function VideoDisplay (
name:String = null, video:Video = null, autoPlay:Boolean = true, autoSize:Boolean = true, bufferTime:Number = 2, soundTransform:SoundTransformInfo = null)

Instance properties

DEBUG

public DEBUG:Boolean = false
(read,write)

Class methods

setTickBeacon

public static function setTickBeacon (
beacon:TickBeacon) : void

Instance methods

getBytesLoaded

override public function getBytesLoaded (
) : uint

getBytesTotal

override public function getBytesTotal (
) : uint

getDimension

public function getDimension (

getDuration

public function getDuration (
) : Number

getHeight

public function getHeight (
) : Number

getKeyFramePosition

public function getKeyFramePosition (
) : String

getMetaData

public function getMetaData (

getPlayheadTime

public function getPlayheadTime (
) : Number

getSoundTransform

public function getSoundTransform (

getVideo

public function getVideo (
) : Video

getVolume

public function getVolume (
) : Number

getWidth

public function getWidth (
) : Number

isAutoPlay

public function isAutoPlay (
) : Boolean

isAutoSize

public function isAutoSize (
) : Boolean

isLoopPlayback

public function isLoopPlayback (
) : Boolean

isPlaying

public function isPlaying (
) : Boolean

load

override public function load (
url:URLRequest = null, context:LoaderContext = null) : void

pauseVideo

public function pauseVideo (
) : void

playVideo

public function playVideo (
nTimeAbsolute:Number = -1, nTimeRelative:Number = Number.NaN) : void

release

override public function release (
) : void

reset

public function reset (
) : void

resumeVideo

public function resumeVideo (
) : void

setAutoPlay

public function setAutoPlay (
b:Boolean) : void

setAutoSize

public function setAutoSize (
b:Boolean) : void

setBufferTime

public function setBufferTime (
n:Number) : void

setLoopPlayback

public function setLoopPlayback (
b:Boolean, position:Number) : void

setSize

public function setSize (
o:Dimension) : void

setSoundTransform

public function setSoundTransform (

setURL

override public function setURL (
url:URLRequest) : void

setVolume

public function setVolume (
n:Number) : void

start

public function start (
) : void

Implements Suspendable
stop is not stopVideo but pauseVideo

stop

public function stop (
) : void

stopVideo

public function stopVideo (
) : void

streamFromPHP

public function streamFromPHP (
n:Number) : void

Event handlers

onTick

public function onTick (
e:Event = null) : void

Method called by the {VISDOC_CODE_BLOCK_5} for each
step of time according to its time slicing approach.

The {VISDOC_CODE_BLOCK_6} method is very similar to the
old {VISDOC_CODE_BLOCK_7} method, but doesn't specifically
occurs when entering in a new frame of a frame-based animation.
The tick could be the result of a {VISDOC_CODE_BLOCK_8} call,
or a change in the timecode of a video.

#
Parameters:
e:
event dispatched by the beacon object
#
Specified by: