| Package | org.springextensions.actionscript.core.io.support |
| SVN browsing | LoadStyleModuleOperation.as |
| Fisheye | LoadStyleModuleOperation.as |
| Class | public class LoadStyleModuleOperation |
| Inheritance | LoadStyleModuleOperation AbstractProgressOperation AbstractOperation flash.events.EventDispatcher |
IOperation implementation that can load a style module from a specified URL.
Documentation reference: operations
| Property | Defined by | ||
|---|---|---|---|
| eventDispatcher : IEventDispatcher | LoadStyleModuleOperation | ||
| styleModuleURL : String | LoadStyleModuleOperation | ||
| Method | Defined by | ||
|---|---|---|---|
|
LoadStyleModuleOperation(styleModuleURL:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null, flexModuleFactory:IFlexModuleFactory = null)
Creates a new
LoadStyleModuleOperation instance. | LoadStyleModuleOperation | ||
![]() |
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:StyleEvent):void
Handles the
StyleEvent.COMPLETE event. | LoadStyleModuleOperation | ||
![]() |
dispatchProgressEvent():void
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 | ||
|
removeEventListeners():void
Removes the
StyleEvent.COMPLETE, StyleEvent.ERROR
and StyleEvent.PROGRESS event listeners. | LoadStyleModuleOperation | ||
![]() |
startTimeout():void
| AbstractOperation | |
| eventDispatcher | property |
protected var eventDispatcher:IEventDispatcher
| styleModuleURL | property |
protected var styleModuleURL:String
| LoadStyleModuleOperation | () | constructor |
public function LoadStyleModuleOperation(styleModuleURL:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null, flexModuleFactory:IFlexModuleFactory = null)
Creates a new LoadStyleModuleOperation instance.
styleModuleURL:String |
|
update:Boolean (default = true) |
|
applicationDomain:ApplicationDomain (default = null) |
|
securityDomain:SecurityDomain (default = null) |
|
flexModuleFactory:IFlexModuleFactory (default = null) |
| completeHandler | () | method |
protected function completeHandler(event:StyleEvent):void
Handles the StyleEvent.COMPLETE event.
event:StyleEvent |
| errorHandler | () | method |
protected function errorHandler(event:StyleEvent):void
Handles the StyleEvent.ERROR event.
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.
event:StyleEvent |
| removeEventListeners | () | method |
protected function removeEventListeners():void
Removes the StyleEvent.COMPLETE, StyleEvent.ERROR
and StyleEvent.PROGRESS event listeners.