Package | away3d.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 | ||
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
Implementation public function get currentItemIndex():int
currentLoader | property |
currentLoader:TextureLoader
[read-only]Returns the loader object for the current texture being loaded
Implementation public function get currentLoader():TextureLoader
currentURLRequest | property |
currentURLRequest:URLRequest
[read-only]Returns the url request object for the current texture being loaded
Implementation public function get currentURLRequest():URLRequest
images | property |
images:Array
[read-only]Returns an array of loader objects containing the loaded images
Implementation public function get images():Array
numItems | property |
numItems:int
[read-only]Returns the number of items whating in the queue to be loaded.
Implementation public function get numItems():int
percentLoaded | property |
percentLoaded:Number
[read-only]Returns the overall progress of the loader queue as a percentage.
Implementation 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
Implementation public function get progress():Number
TextureLoadQueue | () | constructor |
public function TextureLoadQueue()
Init Parameters
addItem | () | method |
public function addItem(loader:TextureLoader, request:URLRequest):void
Adds a new loader and request object to the load queue.
Parametersloader: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 |
httpStatus | event |
ioError | event |
progress | event |
securityError | event |