Packagesekati.load
Classpublic class LoaderQueue
InheritanceLoaderQueue Inheritance flash.events.EventDispatcher

QueueLoader provides the core ILoader group loading logic for the API. XXX - NOT YET COMPLETE: DO NOT IMPLEMENT YET!



Public Properties
 PropertyDefined by
  complete : Boolean
[read-only] The completion status of the queue; if true the queue is complete, if false the queue is not finished.
LoaderQueue
  currentLoader : ILoader
[read-only] The currently queued ILoader.
LoaderQueue
  currentLoaderURL : String
[read-only] The currently queued ILoader.
LoaderQueue
  length : uint
[read-only] The number of items in queue.
LoaderQueue
  loaders : TypedArray
[read-only] The ILoader TypedArray.
LoaderQueue
  loading : Boolean
[read-only] The loading status of the queue; if true the queue is loading, if false the queue has not started yet.
LoaderQueue
  percent : Number
[read-only] Percentage of queue complete.
LoaderQueue
Protected Properties
 PropertyDefined by
  _currentIndex : uint
LoaderQueue
  _isComplete : Boolean
LoaderQueue
  _isLoading : Boolean
LoaderQueue
  _loaders : TypedArray
LoaderQueue
Public Methods
 MethodDefined by
  
QueueLoader Constructor
LoaderQueue
  
addItem(url:String):uint
Add a ILoader item into the queue.
LoaderQueue
  
dispatchEvent(e:Event):Boolean
Optimized dispatchEvent only dispatches when there are listeners.
LoaderQueue
Protected Methods
 MethodDefined by
  
configureListeners(isAdd:Boolean = true):void
Configure the adding & removing of loader listeners.
LoaderQueue
Property detail
completeproperty
complete:Boolean  [read-only]

The completion status of the queue; if true the queue is complete, if false the queue is not finished.

Implementation
    public function get complete():Boolean
_currentIndexproperty 
protected var _currentIndex:uint
currentLoaderproperty 
currentLoader:ILoader  [read-only]

The currently queued ILoader.

Implementation
    public function get currentLoader():ILoader
currentLoaderURLproperty 
currentLoaderURL:String  [read-only]

The currently queued ILoader.

Implementation
    public function get currentLoaderURL():String
_isCompleteproperty 
protected var _isComplete:Boolean
_isLoadingproperty 
protected var _isLoading:Boolean
lengthproperty 
length:uint  [read-only]

The number of items in queue.

Implementation
    public function get length():uint
_loadersproperty 
protected var _loaders:TypedArray
loadersproperty 
loaders:TypedArray  [read-only]

The ILoader TypedArray.

Implementation
    public function get loaders():TypedArray
loadingproperty 
loading:Boolean  [read-only]

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

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

Percentage of queue complete.

Implementation
    public function get percent():Number
Constructor detail
LoaderQueue()constructor
public function LoaderQueue()

QueueLoader Constructor

Method detail
addItem()method
public function addItem(url:String):uint

Add a ILoader item into the queue.

Parameters
url:String — of the item to be queue loaded.

Returns
uint — the queue index of the item.
configureListeners()method 
protected function configureListeners(isAdd:Boolean = true):void

Configure the adding & removing of loader listeners.

Parameters
isAdd:Boolean (default = true)true adds the listeners, false removes them.
dispatchEvent()method 
public override function dispatchEvent(e:Event):Boolean

Optimized dispatchEvent only dispatches when there are listeners.

Parameters
e:Event

Returns
Boolean