Packagecom.rockonflash.logo.utils
Classpublic class VideoContainer
InheritanceVideoContainer Inheritance flash.events.EventDispatcher

VideoContainer is responsible for creating a video object in a specified MovieClip container and managing the playback of an FLV being played progressively



Public Properties
 PropertyDefined by
  container : MovieClip
MovieClip object where you want the video object to be created
VideoContainer
  isPlaying : Boolean = false
Boolean value that is toggled by the NetStream events of whether or not the video is playing
VideoContainer
  video : Video
Video object created inside the container MovieClip passed in.
VideoContainer
Public Methods
 MethodDefined by
  
VideoContainer(target:IEventDispatcher = null)
VideoContainer
  
init(p_container:MovieClip):void
VideoContainer
  
onMetaData(info:Object):void
Receives any metaData an FLV might contain
VideoContainer
  
playVideo():void
VideoContainer
Public Constants
 ConstantDefined by
  VIDEO_PLAY : String = "videoPlay"
[static]
VideoContainer
  VIDEO_STOP : String = "videoStop"
[static]
VideoContainer
Property detail
containerproperty
public var container:MovieClip

MovieClip object where you want the video object to be created

isPlayingproperty 
public var isPlaying:Boolean = false

Boolean value that is toggled by the NetStream events of whether or not the video is playing

videoproperty 
public var video:Video

Video object created inside the container MovieClip passed in.

Constructor detail
VideoContainer()constructor
public function VideoContainer(target:IEventDispatcher = null)Parameters
target:IEventDispatcher (default = null)
Method detail
init()method
public function init(p_container:MovieClip):void

Parameters
p_container:MovieClip
onMetaData()method 
public function onMetaData(info:Object):void

Receives any metaData an FLV might contain

Parameters
info:Object
playVideo()method 
public function playVideo():void

Constant detail
VIDEO_PLAYconstant
public static const VIDEO_PLAY:String = "videoPlay"
VIDEO_STOPconstant 
public static const VIDEO_STOP:String = "videoStop"