Packageorg.puremvc.as3.utilities.loadup.assetloader.model.assets
Classpublic class FlashAssetOfTypeVideo
InheritanceFlashAssetOfTypeVideo Inheritance AssetBase
ImplementsIAsset
SubclassesFlexAssetOfTypeVideo



Public Properties
 PropertyDefined by
 Inheriteddata : Object
AssetBase
  type : String
[read-only]
FlashAssetOfTypeVideo
 Inheritedurl : String
AssetBase
  video : Video
[read-only] The Video object for this video.
FlashAssetOfTypeVideo
  videoStream : NetStream
[read-only] The NetStream object for this video.
FlashAssetOfTypeVideo
Public Methods
 MethodDefined by
  
FlashAssetOfTypeVideo
Protected Methods
 MethodDefined by
  
prepVideo():void
FlashAssetOfTypeVideo
Property detail
typeproperty
type:String  [read-only]Implementation
    public function get type():String
videoproperty 
video:Video  [read-only]

The Video object for this video.

This is based on the asset's url property. The asset's data property is not directly referenced. It is assumed that the browser has cached the loaded data, based on the url, and will stream from the cached data. This Video object is only set if the video asset is fully loaded. The videoStream property provides access to the attached NetStream.

Implementation
    public function get video():Video
videoStreamproperty 
videoStream:NetStream  [read-only]

The NetStream object for this video.

This is based on the asset's url property. The asset's data property is not directly referenced. It is assumed that the browser has cached the loaded data, based on the url, and will stream from the cached data. This net stream is only set if the video asset is fully loaded.

Implementation
    public function get videoStream():NetStream
Constructor detail
FlashAssetOfTypeVideo()constructor
public function FlashAssetOfTypeVideo(url:String)Parameters
url:String
Method detail
prepVideo()method
protected function prepVideo():void