| Package | org.springextensions.actionscript.localization |
| SVN browsing | LoadResourceModuleOperation.as |
| Fisheye | LoadResourceModuleOperation.as |
| Class | public class LoadResourceModuleOperation |
| Inheritance | LoadResourceModuleOperation AbstractProgressOperation AbstractOperation flash.events.EventDispatcher |
IOperation implementation that loads a resource module from a specified URL.
| Property | Defined by | ||
|---|---|---|---|
| eventDispatcher : IEventDispatcher
The
IEventDispatcher returned from the loadResourceModule() call
and that is used to listen for ResourceEvent.COMPLETE, ResourceEvent.ERROR
and ResourceEvent.PROGRESS events. | LoadResourceModuleOperation | ||
| resourceManager : IResourceManager | LoadResourceModuleOperation | ||
| resourceModuleURL : String
The specified URL for the resource module.
| LoadResourceModuleOperation | ||
| Method | Defined by | ||
|---|---|---|---|
|
LoadResourceModuleOperation(resourceModuleURL:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null)
Creates a new
LoadResourceModuleOperation instance. | LoadResourceModuleOperation | ||
![]() |
addCompleteListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.COMPLETE event.
| AbstractOperation | |
![]() |
addErrorListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.ERROR event.
| AbstractOperation | |
![]() |
addProgressListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.PROGRESS event.
| AbstractProgressOperation | |
![]() |
addTimeoutListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.TIMEOUT event.
| AbstractOperation | |
![]() |
dispatchCompleteEvent(result:* = null):Boolean
Convenience method for dispatching a
OperationEvent.COMPLETE event. | AbstractOperation | |
![]() |
dispatchErrorEvent(error:* = null):Boolean
Convenience method for dispatching a
OperationEvent.ERROR event. | AbstractOperation | |
![]() |
dispatchTimeoutEvent():Boolean
Convenience method for dispatching a
OperationEvent.TIMEOUT event. | AbstractOperation | |
![]() |
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
| AbstractOperation | |
![]() |
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
| AbstractOperation | |
![]() |
removeProgressListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.PROGRESS event.
| AbstractProgressOperation | |
![]() |
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
| AbstractOperation | |
| Method | Defined by | ||
|---|---|---|---|
|
completeHandler(event:ResourceEvent):void
Handles the
ResourceEvent.COMPLETE event. | LoadResourceModuleOperation | ||
![]() |
dispatchProgressEvent():void
Convenience method for dispatching a
OperationEvent.PROGRESS event. | AbstractProgressOperation | |
|
errorHandler(event:ResourceEvent):void
Handles the
ResourceEvent.ERROR event. | LoadResourceModuleOperation | ||
|
init(resourceModuleURL:String, update:Boolean, applicationDomain:ApplicationDomain, securityDomain:SecurityDomain):void
| LoadResourceModuleOperation | ||
|
progressHandler(event:ResourceEvent):void
Handles the
ResourceEvent.PROGRESS event. | LoadResourceModuleOperation | ||
|
removeEventListeners():void
Removes the
ResourceEvent.COMPLETE, ResourceEvent.ERROR
and ResourceEvent.PROGRESS event listeners and sets the internally
created IEventDIspatcher to null. | LoadResourceModuleOperation | ||
![]() |
startTimeout():void
| AbstractOperation | |
| eventDispatcher | property |
protected var eventDispatcher:IEventDispatcher
The IEventDispatcher returned from the loadResourceModule() call
and that is used to listen for ResourceEvent.COMPLETE, ResourceEvent.ERROR
and ResourceEvent.PROGRESS events.
| resourceManager | property |
protected var resourceManager:IResourceManager
| resourceModuleURL | property |
protected var resourceModuleURL:StringThe specified URL for the resource module.
| LoadResourceModuleOperation | () | constructor |
public function LoadResourceModuleOperation(resourceModuleURL:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null)
Creates a new LoadResourceModuleOperation instance.
resourceModuleURL:String — The specified URL for the resource module.
|
|
update:Boolean (default = true) |
|
applicationDomain:ApplicationDomain (default = null) |
|
securityDomain:SecurityDomain (default = null) |
| completeHandler | () | method |
protected function completeHandler(event:ResourceEvent):void
Handles the ResourceEvent.COMPLETE event.
event:ResourceEvent |
| errorHandler | () | method |
protected function errorHandler(event:ResourceEvent):void
Handles the ResourceEvent.ERROR event.
event:ResourceEvent |
| init | () | method |
protected function init(resourceModuleURL:String, update:Boolean, applicationDomain:ApplicationDomain, securityDomain:SecurityDomain):voidParameters
resourceModuleURL:String |
|
update:Boolean |
|
applicationDomain:ApplicationDomain |
|
securityDomain:SecurityDomain |
| progressHandler | () | method |
protected function progressHandler(event:ResourceEvent):void
Handles the ResourceEvent.PROGRESS event.
event:ResourceEvent |
| removeEventListeners | () | method |
protected function removeEventListeners():void
Removes the ResourceEvent.COMPLETE, ResourceEvent.ERROR
and ResourceEvent.PROGRESS event listeners and sets the internally
created IEventDIspatcher to null.