Packagecom.sibirjak.angara.resource
Classpublic class ResourceLoaderEvent
InheritanceResourceLoaderEvent Inheritance LoaderItemEvent Inheritance flash.events.Event

Resource loader event definition.



Public Properties
 PropertyDefined by
 InheritedaffectedLoaderItem : ILoaderItem
Returns the affected child loader item, which has been added or removed.
LoaderItemEvent
 InheritedloaderItem : ILoaderItem
Returns the event dispatching loader item.
LoaderItemEvent
 Inheritedpriority : uint
Returns the priority the item is added with to the LoaderManager.
LoaderItemEvent
  resourceLoader : IResourceLoader
[read-only] Returns the affected resource loader.
ResourceLoaderEvent
Protected Properties
 PropertyDefined by
 Inherited_affectedLoaderItem : ILoaderItem
Reference to a child oader item, which has been added or removed.
LoaderItemEvent
 Inherited_loaderItem : ILoaderItem
Reference to the event dispatching loader item.
LoaderItemEvent
 Inherited_priority : uint
Loader item priority.
LoaderItemEvent
Public Methods
 MethodDefined by
  
ResourceLoaderEvent(type:String, resourceLoader:IResourceLoader)
Creates a new LoaderItemEvent.
ResourceLoaderEvent
Public Constants
 ConstantDefined by
 InheritedADD : String = "item_added"
[static] An item has been added to the loader manager queue (Schedule) or to a sequence.
LoaderItemEvent
 InheritedCLEAR : String = "item_clear"
[static] Item container has been cleared.
LoaderItemEvent
  COMPLETE : String = "item_complete"
[static] Loading finished successfully.
ResourceLoaderEvent
  FAILURE : String = "item_failure"
[static] Loading failed.
ResourceLoaderEvent
  INIT : String = "resource_init"
[static] Loaded content is ready to process (e.g.
ResourceLoaderEvent
  LOADING : String = "resource_loading"
[static] Loader has started loading.
ResourceLoaderEvent
  PAUSE : String = "item_pause"
[static] Loader paused.
ResourceLoaderEvent
  PROGRESS : String = "item_progress"
[static] Progress of resource loader has changed.
ResourceLoaderEvent
 InheritedREMOVE : String = "item_removed"
[static] An item has been removed from the to the loader manager queue (Schedule) or from the connection pool.
LoaderItemEvent
  RESUME : String = "item_resume"
[static] Loader resumed.
ResourceLoaderEvent
  STOP : String = "item_stop"
[static] Loader has stopped loading.
ResourceLoaderEvent
  TRIAL_FAILURE : String = "resource_loading_trail_failure"
[static] Loading failed.
ResourceLoaderEvent
Property detail
resourceLoaderproperty
resourceLoader:IResourceLoader  [read-only]

Returns the affected resource loader.

Implementation
    public function get resourceLoader():IResourceLoader
Constructor detail
ResourceLoaderEvent()constructor
public function ResourceLoaderEvent(type:String, resourceLoader:IResourceLoader)

Creates a new LoaderItemEvent.

Parameters
type:String — Type of the event.
 
resourceLoader:IResourceLoader — Reference to the affected resource loader.
Constant detail
COMPLETEconstant
public static const COMPLETE:String = "item_complete"

Loading finished successfully.

FAILUREconstant 
public static const FAILURE:String = "item_failure"

Loading failed.

INITconstant 
public static const INIT:String = "resource_init"

Loaded content is ready to process (e.g. to display).

LOADINGconstant 
public static const LOADING:String = "resource_loading"

Loader has started loading.

PAUSEconstant 
public static const PAUSE:String = "item_pause"

Loader paused.

PROGRESSconstant 
public static const PROGRESS:String = "item_progress"

Progress of resource loader has changed.

RESUMEconstant 
public static const RESUME:String = "item_resume"

Loader resumed.

STOPconstant 
public static const STOP:String = "item_stop"

Loader has stopped loading.

TRIAL_FAILUREconstant 
public static const TRIAL_FAILURE:String = "resource_loading_trail_failure"

Loading failed.