| Package | com.rockonflash.logo.utils |
| Class | public class VideoContainer |
| Inheritance | VideoContainer flash.events.EventDispatcher |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Constant | Defined by | ||
|---|---|---|---|
| VIDEO_PLAY : String = "videoPlay" [static]
| VideoContainer | ||
| VIDEO_STOP : String = "videoStop" [static]
| VideoContainer | ||
| container | property |
public var container:MovieClipMovieClip object where you want the video object to be created
| isPlaying | property |
public var isPlaying:Boolean = falseBoolean value that is toggled by the NetStream events of whether or not the video is playing
| video | property |
public var video:VideoVideo object created inside the container MovieClip passed in.
| VideoContainer | () | constructor |
public function VideoContainer(target:IEventDispatcher = null)Parameters
target:IEventDispatcher (default = null) |
| init | () | method |
public function init(p_container:MovieClip):voidParameters
p_container:MovieClip |
| onMetaData | () | method |
public function onMetaData(info:Object):voidReceives any metaData an FLV might contain
Parametersinfo:Object |
| playVideo | () | method |
public function playVideo():void
| VIDEO_PLAY | constant |
public static const VIDEO_PLAY:String = "videoPlay"
| VIDEO_STOP | constant |
public static const VIDEO_STOP:String = "videoStop"