Packageorg.osmf.smpte.tt.loader
Classpublic class SMPTETTLoader
InheritanceSMPTETTLoader Inheritance org.osmf.traits.LoaderBase

Language Version : ActionScript 3.0
Product Version : OSMF 1.6
Runtime Versions : Flash Player 10, AIR 1.5

Loader class for the SMPTETTProxyElement.



Public Properties
 PropertyDefined By
  endTime : TimeCode
SMPTETTLoader
  startTime : TimeCode
SMPTETTLoader
Public Methods
 MethodDefined By
  
SMPTETTLoader(httpLoader:HTTPLoader = null)
Constructor.
SMPTETTLoader
  
updateLoadTraitAccessor(loadTrait:LoadTrait, newState:String):void
SMPTETTLoader
Protected Methods
 MethodDefined By
  
executeLoad(loadTrait:LoadTrait):void
[override] Loads an SMPTE-TT document.
SMPTETTLoader
  
executeUnload(loadTrait:LoadTrait):void
[override] Unloads the document.
SMPTETTLoader
Property Detail
endTimeproperty
endTime:TimeCode


Implementation
    public function get endTime():TimeCode
    public function set endTime(value:TimeCode):void
startTimeproperty 
startTime:TimeCode


Implementation
    public function get startTime():TimeCode
    public function set startTime(value:TimeCode):void
Constructor Detail
SMPTETTLoader()Constructor
public function SMPTETTLoader(httpLoader:HTTPLoader = null)

Language Version : ActionScript 3.0
Product Version : OSMF 1.6
Runtime Versions : Flash Player 10, AIR 1.5

Constructor.

Parameters
httpLoader:HTTPLoader (default = null) — The HTTPLoader to be used by this TTMLLoader to retrieve the Timed Text document. If null, a new one will be created.
Method Detail
executeLoad()method
override protected function executeLoad(loadTrait:LoadTrait):void

Language Version : ActionScript 3.0
Product Version : OSMF 1.6
Runtime Versions : Flash Player 10, AIR 1.5

Loads an SMPTE-TT document.

Updates the LoadTrait's loadState property to LOADING while loading and to READY upon completing a successful load and parse of the Timed Text document.

Parameters

loadTrait:LoadTrait — The LoadTrait to be loaded.

See also

org.osmf.traits.LoadState
executeUnload()method 
override protected function executeUnload(loadTrait:LoadTrait):void

Language Version : ActionScript 3.0
Product Version : OSMF 1.6
Runtime Versions : Flash Player 10, AIR 1.5

Unloads the document.

Updates the LoadTrait's loadState property to UNLOADING while unloading and to CONSTRUCTED upon completing a successful unload.

Parameters

loadTrait:LoadTrait — LoadTrait to be unloaded.

See also

org.osmf.traits.LoadState
updateLoadTraitAccessor()method 
public function updateLoadTraitAccessor(loadTrait:LoadTrait, newState:String):void

Parameters

loadTrait:LoadTrait
 
newState:String