Packageorg.springextensions.actionscript.localization
SVN browsingLoadResourceBundleOperation.as
FisheyeLoadResourceBundleOperation.as
Classpublic class LoadResourceBundleOperation
InheritanceLoadResourceBundleOperation Inheritance AbstractOperation Inheritance flash.events.EventDispatcher

Asynchronous operation that loads a resource bundle, based on the info provided in a ResourceBundleInfo object.

This class is used internally by the FlexXMLApplicationObject to queue resource bundle loading.



Public Properties
 PropertyDefined by
 Inheritederror : *
The error of this operation or null if no error occurred during this operation.
AbstractOperation
 Inheritedresult : *
The result of this operation or null if the operation does not have a result.
AbstractOperation
 Inheritedtimeout : int
The timeout in milliseconds.
AbstractOperation
Public Methods
 MethodDefined by
  
Creates a new LoadResourceBundleOperation instance.
LoadResourceBundleOperation
 Inherited
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
 Inherited
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
 Inherited
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
 Inherited
dispatchCompleteEvent(result:* = null):Boolean
Convenience method for dispatching a OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
dispatchErrorEvent(error:* = null):Boolean
Convenience method for dispatching a OperationEvent.ERROR event.
AbstractOperation
 Inherited
Convenience method for dispatching a OperationEvent.TIMEOUT event.
AbstractOperation
 Inherited
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
AbstractOperation
 Inherited
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
AbstractOperation
Protected Methods
 MethodDefined by
  
Creates a ResourceBundleLoader object, adds the appropriate event handlers and invokes the ResourceBundleLoader.load() method.
LoadResourceBundleOperation
 Inherited
startTimeout():void
AbstractOperation
Events
 EventSummaryDefined by
 Inherited Dispatched when the current AbstractOperation has completed its functionality successfully.AbstractOperation
 Inherited Dispatched when the current AbstractOperation encountered an error.AbstractOperation
 Inherited Dispatched when the current AbstractOperation timed out.AbstractOperation
Constructor detail
LoadResourceBundleOperation()constructor
public function LoadResourceBundleOperation(info:ResourceBundleInfo)

Creates a new LoadResourceBundleOperation instance.

Parameters
info:ResourceBundleInfo — the resource bundle info
Method detail
init()method
protected function init(info:ResourceBundleInfo):void

Creates a ResourceBundleLoader object, adds the appropriate event handlers and invokes the ResourceBundleLoader.load() method.

Parameters
info:ResourceBundleInfo — the resource bundle info