Packagecom.sibirjak.angara.sequence
Interfacepublic interface IPagedSequence extends ISequence, ILoaderItem, IProgressInfo, flash.events.IEventDispatcher, org.as3commons.collections.framework.IIterable
ImplementorsPagedSequence

A paged sequence enables loading of only a range of containing loaders at a time.

A resource loader added to a paged sequence will be automatically paused.



Public Properties
 PropertyDefined by
 InheriteditemType : String
The type of the loader item.
ILoaderItem
 Inheritedkey : String
Returns the identifying key of the loader item.
ILoaderItem
 InheritednumItems : uint
Returns the number of items to be loaded within the loader item.
IProgressInfo
 InheritednumItemsFailed : uint
Returns the number of items failed within the loader item.
IProgressInfo
 InheritednumItemsLoaded : uint
Returns the number of items loaded within the loader item.
IProgressInfo
 Inheritedprogress : Number
Returns the progress of the loader item as a decimal value between zero and 1.
IProgressInfo
 Inheritedscheduled : Boolean
Returns true, if the item already has been added to the loader manager directly or to a sequence or a sequence manager.
ILoaderItem
 Inheritedstatus : String
The current loading status.
ILoaderItem
Public Methods
 MethodDefined by
  
activateLoaders(index:uint, numItems:uint):void
Resumes all loaders in the specified range and pauses all other currently waiting loaders.
IPagedSequence
 Inherited
add(resourceLoader:IResourceLoader, weight:uint = 0):void
Adds a new resource loader to the sequence.
ISequence
 Inherited
clear():void
Stops all loaders and removes all loader references from the sequence.
ISequence
 Inherited
pause():void
Marks the item to be ignored by subsequent loader manager queue pulling operations.
ILoaderItem
 Inherited
remove(resourceLoader:IResourceLoader):void
Removes a loader from a sequence.
ISequence
 Inherited
resume():void
Marks a prior paused item to be eligible for loader manager queue polling operations.
ILoaderItem
 Inherited
stop():void
Immediately stops loading of the item or its containing items.
ILoaderItem
Method detail
activateLoaders()method
public function activateLoaders(index:uint, numItems:uint):void

Resumes all loaders in the specified range and pauses all other currently waiting loaders.

Parameters
index:uint — The index of the first resource loader.
 
numItems:uint — The number of loaders to be resumed.