| $#! | |
| _busy | |
| _complete, InitSimpleProxy | |
| _completeNotification, InitMonitorProxy | |
| _completeNotificationName, InitMonitorProxy | |
| _loader, BulkAssetsProxy | |
| _progressNotificationName, InitMonitorProxy | |
| _startNotificationName, InitMonitorProxy | |
| A | |
| addResources, InitMonitorProxy | |
| alreadyCompletePNames, InitMonitorProxy | |
| assets, BulkAssetsProxy | |
| B | |
| BulkAssetsProxy | |
| busy, InitSimpleProxy | |
| C | |
| complete | |
| completedCount, InitMonitorProxy | |
| completeNotification, InitMonitorProxy | |
| completeNotificationName | |
| Constants | |
| currCompletedCount, InitMonitorProxy | |
| currIndex, InitMonitorProxy | |
| E | |
| execute, InitResourceCompleteCommand | |
| F | |
| finish, InitSimpleProxy | |
| FontAssetProxy | |
| fontFile, FontAssetProxy | |
| Functions | |
| Functions and Properties, InitSimpleProxy | |
| G | |
| getAsset, BulkAssetsProxy | |
| getClass, BulkAssetsProxy | |
| I | |
| IInitProxy | |
| INIT_MONITOR_COMPLETE, InitMonitor | |
| INIT_MONITOR_PROGRESS, InitMonitor | |
| INIT_MONITOR_START, InitMonitor | |
| InitMonitor | |
| InitMonitorProxy | |
| InitResourceCompleteCommand | |
| InitSimpleProxy | |
| L | |
| load | |
| loader, BulkAssetsProxy | |
| M | |
| myContext, BulkAssetsProxy | |
| N | |
| NAME | |
| noteTOpnameMap, InitMonitorProxy | |
| O | |
| onAssetsLoaded, FontAssetProxy | |
| P | |
| progressNotificationName, InitMonitorProxy | |
| Properties | |
| R | |
| resourceComplete, InitMonitorProxy | |
| resources, InitMonitorProxy | |
| S | |
| start, InitMonitorProxy | |
| startCurrGroup, InitMonitorProxy | |
| startNotificationName, InitMonitorProxy | |
| stop | |
| T | |
| toCompleteCount, InitMonitorProxy | |
| V | |
| Variables |
private var _busy: Boolean
protected var _busy: Boolean
protected var _complete: Boolean
private var _completeNotification: Notification
private var _completeNotificationName: String
private var _loader: BulkLoader
private var _progressNotificationName: String
private var _startNotificationName: String
Call this function at least 1X before calling start()
public function addResources( resources: Array ):void
private var alreadyCompletePNames: Object
protected var assets: Array
Constructor
public function BulkAssetsProxy( proxyName: String, notification: Object = null )
busy is True between start and complete todo: consider removing _busy and busy since they are non-essential
public function get busy():Boolean
The complete property helps InitMonitorProxy to calculate loading progress.
function get complete():Boolean
Is everything loaded here?
public function get complete():Boolean
private var completedCount: int
The Notification that is sent when all proxies are processed
public function get completeNotification():Notification
The proxy must call the finish() function, defined in InitSimpleProxy when load() is complete.
function get completeNotificationName():String
public function get completeNotificationName():String
The name of the _COMPLETE notification (may be hardcoded, or defined in facade)
public function get completeNotificationName():String
private var currCompletedCount: int
private var currIndex: int
override public function execute( notification: INotification ):void
sends final Notification
protected function finish():void
public function FontAssetProxy( proxyName: String, fontFile: String )
private var fontFile: String
Retrieve a loaded asset
public function getAsset( asset_name: String ):Object
Shorthand function for retrieving an assets class
public function getClass( asset_name: String, classLib: String ):Class
public static const INIT_MONITOR_COMPLETE: String
public static const INIT_MONITOR_PROGRESS: String
public static const INIT_MONITOR_START: String
public function InitMonitorProxy()
public function InitSimpleProxy( proxyName: String, data: Object = null )
public override function load():void
This function gets called by InitMonitorProxy.
function load():void
Override this function.
public function load():void
retrieve BulkLoaded instance.
public function get loader():BulkLoader
protected var myContext: LoaderContext
public static const NAME: String
public static const NAME: String
public static const NAME: String
private var noteTOpnameMap: Object
private function onAssetsLoaded( evt: Event = null ):void
public function get progressNotificationName():String
Gets called by InitResourceCompleteCommand every time a proxy completes Don’t call this function directly
public function resourceComplete( noteName: String ):void
private var resources: Array
Call this to start the process, !!!remember to call stop() first if this is a new section!!!
public function start():void
private function startCurrGroup():void
public function get startNotificationName():String
This function should stop loading in its tracks.
function stop():void
Always call stop() before start() to cancel the previous operation and reset the queue
public function stop():void
Override this function.
public function stop():void
private var toCompleteCount: int