| Package | com.sibirjak.angara.resource |
| Class | public class ResourceLoaderEvent |
| Inheritance | ResourceLoaderEvent LoaderItemEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
![]() | affectedLoaderItem : ILoaderItem
Returns the affected child loader item, which has been added or removed.
| LoaderItemEvent | |
![]() | loaderItem : ILoaderItem
Returns the event dispatching loader item.
| LoaderItemEvent | |
![]() | priority : uint
Returns the priority the item is added with to the LoaderManager.
| LoaderItemEvent | |
| resourceLoader : IResourceLoader
[read-only]
Returns the affected resource loader.
| ResourceLoaderEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
ResourceLoaderEvent(type:String, resourceLoader:IResourceLoader)
Creates a new LoaderItemEvent.
| ResourceLoaderEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ADD : String = "item_added" [static]
An item has been added to the loader manager queue (Schedule)
or to a sequence.
| LoaderItemEvent | |
![]() | CLEAR : 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 | ||
![]() | REMOVE : 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 | ||
| resourceLoader | property |
resourceLoader:IResourceLoader [read-only]Returns the affected resource loader.
Implementation public function get resourceLoader():IResourceLoader
| ResourceLoaderEvent | () | constructor |
public function ResourceLoaderEvent(type:String, resourceLoader:IResourceLoader)Creates a new LoaderItemEvent.
Parameterstype:String — Type of the event.
|
|
resourceLoader:IResourceLoader — Reference to the affected resource loader.
|
| COMPLETE | constant |
public static const COMPLETE:String = "item_complete"Loading finished successfully.
| FAILURE | constant |
public static const FAILURE:String = "item_failure"Loading failed.
| INIT | constant |
public static const INIT:String = "resource_init"Loaded content is ready to process (e.g. to display).
| LOADING | constant |
public static const LOADING:String = "resource_loading"Loader has started loading.
| PAUSE | constant |
public static const PAUSE:String = "item_pause"Loader paused.
| PROGRESS | constant |
public static const PROGRESS:String = "item_progress"Progress of resource loader has changed.
| RESUME | constant |
public static const RESUME:String = "item_resume"Loader resumed.
| STOP | constant |
public static const STOP:String = "item_stop"Loader has stopped loading.
| TRIAL_FAILURE | constant |
public static const TRIAL_FAILURE:String = "resource_loading_trail_failure"Loading failed.