Package | away3dlite.loaders.utils |
Class | public class TextureLoadQueue |
Inheritance | TextureLoadQueue flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
currentItemIndex : int [read-only]
Returns the index of the current texture baing loaded
| TextureLoadQueue | ||
currentLoader : TextureLoader [read-only]
Returns the loader object for the current texture being loaded
| TextureLoadQueue | ||
currentURLRequest : URLRequest [read-only]
Returns the url request object for the current texture being loaded
| TextureLoadQueue | ||
images : Array [read-only]
Returns an array of loader objects containing the loaded images
| TextureLoadQueue | ||
numItems : int [read-only]
Returns the number of items whating in the queue to be loaded. | TextureLoadQueue | ||
percentLoaded : Number [read-only]
Returns the overall progress of the loader queue as a percentage. | TextureLoadQueue | ||
progress : Number [read-only]
Returns the overall progress of the loader queue. | TextureLoadQueue |
Method | Defined By | ||
---|---|---|---|
Creates a new TextureLoadQueue object. | TextureLoadQueue | ||
addItem(loader:TextureLoader, request:URLRequest):void
Adds a new loader and request object to the load queue. | TextureLoadQueue | ||
start():void
Starts the load queue loading. | TextureLoadQueue |
Event | Summary | Defined By | ||
---|---|---|---|---|
TextureLoadQueue | ||||
TextureLoadQueue | ||||
TextureLoadQueue | ||||
TextureLoadQueue | ||||
TextureLoadQueue |
currentItemIndex | property |
currentItemIndex:int
[read-only] Returns the index of the current texture baing loaded
public function get currentItemIndex():int
currentLoader | property |
currentLoader:TextureLoader
[read-only] Returns the loader object for the current texture being loaded
public function get currentLoader():TextureLoader
currentURLRequest | property |
currentURLRequest:URLRequest
[read-only] Returns the url request object for the current texture being loaded
public function get currentURLRequest():URLRequest
images | property |
images:Array
[read-only] Returns an array of loader objects containing the loaded images
public function get images():Array
numItems | property |
numItems:int
[read-only] Returns the number of items whating in the queue to be loaded.
public function get numItems():int
percentLoaded | property |
percentLoaded:Number
[read-only] Returns the overall progress of the loader queue as a percentage.
public function get percentLoaded():Number
progress | property |
progress:Number
[read-only] Returns the overall progress of the loader queue. Progress of 0 means that nothing has loaded. Progress of 1 means that all the items are fully loaded
public function get progress():Number
TextureLoadQueue | () | Constructor |
public function TextureLoadQueue()
Creates a new TextureLoadQueue
object.
addItem | () | method |
public function addItem(loader:TextureLoader, request:URLRequest):void
Adds a new loader and request object to the load queue.
Parameters
loader:TextureLoader — The loader object to add to the queue.
| |
request:URLRequest — The url request object to add tp the queue.
|
start | () | method |
public function start():void
Starts the load queue loading.
complete | Event |
flash.events.Event
httpStatus | Event |
flash.events.HTTPStatusEvent
ioError | Event |
flash.events.IOErrorEvent
progress | Event |
flash.events.ProgressEvent
securityError | Event |
flash.events.SecurityErrorEvent