Packagesekati.load
Interfacepublic interface ILoader
ImplementorsAbstractLoader, ByteArrayLoader, ImageLoader, SoundLoader, StyleSheetLoader, SWFLoader, TextLoader, VariableLoader, XMLLoader

ILoader provides an implementation for API AbstractLoader sub-classes.



Public Properties
 PropertyDefined by
  bytesLoaded : uint
[read-only] The loader bytes loaded.
ILoader
  bytesTotal : uint
[read-only] The loader bytes total.
ILoader
  context : LoaderContext
Returns LoaderContext (for Loader types only).
ILoader
  dataFormat : String
Returns URLLoaderDataFormat (for URLLoader types only).
ILoader
  loading : Boolean
[read-only] The loading status of the loader; if true the loader is loading, if false the loader has not started yet.
ILoader
  percent : Number
[read-only] The loader percentile.
ILoader
  rawContent : *
[read-only] The loosely-typed AbstractLoader content.
ILoader
  ready : Boolean
[read-only] The ready status of the loader content; if true the content is loaded, if false the content is not loaded.
ILoader
  request : URLRequest
The loader URLRequest.
ILoader
  soundContext : SoundLoaderContext
Returns SoundLoaderContext (for Sound types only).
ILoader
  url : String
The loader url.
ILoader
Public Methods
 MethodDefined by
  
close():void
Stop the loading process.
ILoader
  
destroy():void
Cleanup the AbstractLoader.
ILoader
  
dispatchEvent(e:Event):Boolean
Optimized dispatchEvent only dispatches when there are listeners.
ILoader
  
load():void
Start the loading process.
ILoader
Property detail
bytesLoadedproperty
bytesLoaded:uint  [read-only]

The loader bytes loaded.

Implementation
    public function get bytesLoaded():uint
bytesTotalproperty 
bytesTotal:uint  [read-only]

The loader bytes total.

Implementation
    public function get bytesTotal():uint
contextproperty 
context:LoaderContext  [read-write]

Returns LoaderContext (for Loader types only).

Implementation
    public function get context():LoaderContext
    public function set context(value:LoaderContext):void
dataFormatproperty 
dataFormat:String  [read-write]

Returns URLLoaderDataFormat (for URLLoader types only).

Implementation
    public function get dataFormat():String
    public function set dataFormat(value:String):void
loadingproperty 
loading:Boolean  [read-only]

The loading status of the loader; if true the loader is loading, if false the loader has not started yet.

Implementation
    public function get loading():Boolean
percentproperty 
percent:Number  [read-only]

The loader percentile.

Implementation
    public function get percent():Number
rawContentproperty 
rawContent:*  [read-only]

The loosely-typed AbstractLoader content.

Implementation
    public function get rawContent():*
readyproperty 
ready:Boolean  [read-only]

The ready status of the loader content; if true the content is loaded, if false the content is not loaded.

Implementation
    public function get ready():Boolean
requestproperty 
request:URLRequest  [read-write]

The loader URLRequest.

Implementation
    public function get request():URLRequest
    public function set request(value:URLRequest):void
soundContextproperty 
soundContext:SoundLoaderContext  [read-write]

Returns SoundLoaderContext (for Sound types only).

Implementation
    public function get soundContext():SoundLoaderContext
    public function set soundContext(value:SoundLoaderContext):void
urlproperty 
url:String  [read-write]

The loader url.

Implementation
    public function get url():String
    public function set url(value:String):void
Method detail
close()method
public function close():void

Stop the loading process.

destroy()method 
public function destroy():void

Cleanup the AbstractLoader.

dispatchEvent()method 
public function dispatchEvent(e:Event):Boolean

Optimized dispatchEvent only dispatches when there are listeners.

Parameters
e:Event

Returns
Boolean
load()method 
public function load():void

Start the loading process.