Package | sekati.load |
Interface | public interface ILoader |
Implementors | AbstractLoader, ByteArrayLoader, ImageLoader, SoundLoader, StyleSheetLoader, SWFLoader, TextLoader, VariableLoader, XMLLoader |
AbstractLoader
sub-classes.
Property | Defined 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 |
Method | Defined 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 |
bytesLoaded | property |
bytesLoaded:uint
[read-only]The loader bytes loaded.
Implementation public function get bytesLoaded():uint
bytesTotal | property |
bytesTotal:uint
[read-only]The loader bytes total.
Implementation public function get bytesTotal():uint
context | property |
context:LoaderContext
[read-write]
Returns LoaderContext
(for Loader
types only).
public function get context():LoaderContext
public function set context(value:LoaderContext):void
dataFormat | property |
dataFormat:String
[read-write]
Returns URLLoaderDataFormat
(for URLLoader
types only).
public function get dataFormat():String
public function set dataFormat(value:String):void
loading | property |
loading:Boolean
[read-only]
The loading status of the loader; if true
the loader is loading, if false
the loader has not started yet.
public function get loading():Boolean
percent | property |
percent:Number
[read-only]The loader percentile.
Implementation public function get percent():Number
rawContent | property |
rawContent:*
[read-only]
The loosely-typed AbstractLoader
content.
public function get rawContent():*
ready | property |
ready:Boolean
[read-only]
The ready status of the loader content; if true
the content is loaded, if false
the content is not loaded.
public function get ready():Boolean
request | property |
request:URLRequest
[read-write]
The loader URLRequest
.
public function get request():URLRequest
public function set request(value:URLRequest):void
soundContext | property |
soundContext:SoundLoaderContext
[read-write]
Returns SoundLoaderContext
(for Sound
types only).
public function get soundContext():SoundLoaderContext
public function set soundContext(value:SoundLoaderContext):void
url | property |
url:String
[read-write]The loader url.
Implementation public function get url():String
public function set url(value:String):void
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.
e:Event |
Boolean |
load | () | method |
public function load():void
Start the loading process.