Package | away3d.events |
Class | public class LoaderEvent |
Inheritance | LoaderEvent flash.events.Event |
Property | Defined by | ||
---|---|---|---|
message : String [read-only]
The error string on loadError.
| LoaderEvent | ||
resource : IResource
[read-only]
The loaded or parsed resource.
| LoaderEvent | ||
url : String [read-only]
The url of the loaded resource.
| LoaderEvent |
Method | Defined by | ||
---|---|---|---|
Create a new LoaderEvent object.
| LoaderEvent | ||
clone():Event
Clones the current event.
| LoaderEvent |
Constant | Defined by | ||
---|---|---|---|
LOAD_COMPLETE : String = "loadComplete" [static]
Dispatched when loading of an asset completed.
| LoaderEvent | ||
LOAD_ERROR : String = "loadError" [static]
Dispatched when loading of a asset failed.
| LoaderEvent | ||
LOAD_MAP_ERROR : String = "loadMapError" [static]
Dispatched when loading of a bitmap (png.
| LoaderEvent | ||
PARSE_COMPLETE : String = "parseComplete" [static]
Dispatched when parsing of an asset completed.
| LoaderEvent |
message | property |
message:String
[read-only]The error string on loadError.
Implementation public function get message():String
resource | property |
resource:IResource
[read-only]The loaded or parsed resource.
Implementation public function get resource():IResource
url | property |
url:String
[read-only]The url of the loaded resource.
Implementation public function get url():String
LoaderEvent | () | constructor |
public function LoaderEvent(type:String, resource:IResource, url:String = null, errmsg:String = null)
Parameters
type:String — The event type.
|
|
resource:IResource — The loaded or parsed resource.
|
|
url:String (default = null ) — The url of the loaded resource.
|
|
errmsg:String (default = null )
|
clone | () | method |
public override function clone():Event
Clones the current event.
ReturnsEvent — An exact duplicate of the current event.
|
LOAD_COMPLETE | constant |
public static const LOAD_COMPLETE:String = "loadComplete"
Dispatched when loading of an asset completed.
LOAD_ERROR | constant |
public static const LOAD_ERROR:String = "loadError"
Dispatched when loading of a asset failed.
LOAD_MAP_ERROR | constant |
public static const LOAD_MAP_ERROR:String = "loadMapError"
Dispatched when loading of a bitmap (png. jpg) failed.
PARSE_COMPLETE | constant |
public static const PARSE_COMPLETE:String = "parseComplete"
Dispatched when parsing of an asset completed.