Packageorg.springextensions.actionscript.core.io.support
SVN browsingLoadStyleModuleOperation.as
FisheyeLoadStyleModuleOperation.as
Classpublic class LoadStyleModuleOperation
InheritanceLoadStyleModuleOperation Inheritance AbstractProgressOperation Inheritance AbstractOperation Inheritance flash.events.EventDispatcher

An IOperation implementation that can load a style module from a specified URL.



Documentation reference: operations


Public Properties
 PropertyDefined by
 Inheritederror : *
The error of this operation or null if no error occurred during this operation.
AbstractOperation
 Inheritedprogress : uint
The progress of this operation.
AbstractProgressOperation
 Inheritedresult : *
The result of this operation or null if the operation does not have a result.
AbstractOperation
 Inheritedtimeout : int
The timeout in milliseconds.
AbstractOperation
 Inheritedtotal : uint
The total amount of progress this operation should make before being done.
AbstractProgressOperation
Protected Properties
 PropertyDefined by
  eventDispatcher : IEventDispatcher
LoadStyleModuleOperation
  styleModuleURL : String
LoadStyleModuleOperation
Public Methods
 MethodDefined by
  
LoadStyleModuleOperation(styleModuleURL:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null, flexModuleFactory:IFlexModuleFactory = null)
Creates a new LoadStyleModuleOperation instance.
LoadStyleModuleOperation
 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
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
 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
removeProgressListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.PROGRESS event.
AbstractProgressOperation
 Inherited
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
AbstractOperation
Protected Methods
 MethodDefined by
  
completeHandler(event:StyleEvent):void
Handles the StyleEvent.COMPLETE event.
LoadStyleModuleOperation
 Inherited
Convenience method for dispatching a OperationEvent.PROGRESS event.
AbstractProgressOperation
  
errorHandler(event:StyleEvent):void
Handles the StyleEvent.ERROR event.
LoadStyleModuleOperation
  
init(styleModuleURL:String, update:Boolean, applicationDomain:ApplicationDomain, securityDomain:SecurityDomain, flexModuleFactory:IFlexModuleFactory):void
LoadStyleModuleOperation
  
progressHandler(event:StyleEvent):void
Handles the StyleEvent.PROGRESS event.
LoadStyleModuleOperation
  
Removes the StyleEvent.COMPLETE, StyleEvent.ERROR and StyleEvent.PROGRESS event listeners.
LoadStyleModuleOperation
 Inherited
startTimeout():void
AbstractOperation
Events
 EventSummaryDefined by
 Inherited Dispatched when the current AbstractOperation has new progress information to report.AbstractProgressOperation
 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
Property detail
eventDispatcherproperty
protected var eventDispatcher:IEventDispatcher
styleModuleURLproperty 
protected var styleModuleURL:String
Constructor detail
LoadStyleModuleOperation()constructor
public function LoadStyleModuleOperation(styleModuleURL:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null, flexModuleFactory:IFlexModuleFactory = null)

Creates a new LoadStyleModuleOperation instance.

Parameters
styleModuleURL:String
 
update:Boolean (default = true)
 
applicationDomain:ApplicationDomain (default = null)
 
securityDomain:SecurityDomain (default = null)
 
flexModuleFactory:IFlexModuleFactory (default = null)
Method detail
completeHandler()method
protected function completeHandler(event:StyleEvent):void

Handles the StyleEvent.COMPLETE event.

Parameters
event:StyleEvent
errorHandler()method 
protected function errorHandler(event:StyleEvent):void

Handles the StyleEvent.ERROR event.

Parameters
event:StyleEvent
init()method 
protected function init(styleModuleURL:String, update:Boolean, applicationDomain:ApplicationDomain, securityDomain:SecurityDomain, flexModuleFactory:IFlexModuleFactory):voidParameters
styleModuleURL:String
 
update:Boolean
 
applicationDomain:ApplicationDomain
 
securityDomain:SecurityDomain
 
flexModuleFactory:IFlexModuleFactory
progressHandler()method 
protected function progressHandler(event:StyleEvent):void

Handles the StyleEvent.PROGRESS event.

Parameters
event:StyleEvent
removeEventListeners()method 
protected function removeEventListeners():void

Removes the StyleEvent.COMPLETE, StyleEvent.ERROR and StyleEvent.PROGRESS event listeners.