Package | away3d.events |
Class | public class ResourceEvent |
Inheritance | ResourceEvent flash.events.Event |
Property | Defined by | ||
---|---|---|---|
resource : IResource
[read-only]
A reference to the resource.
| ResourceEvent | ||
uri : String [read-only]
An identifier (url or id) of the resource.
| ResourceEvent |
Method | Defined by | ||
---|---|---|---|
Create a new ResourceEvent object
| ResourceEvent | ||
clone():Event
Creates a copy of the current object.
| ResourceEvent |
Constant | Defined by | ||
---|---|---|---|
DEPENDENCY_ERROR : String = "dependencyError" [static]
Dispatched when a resource's dependency error occurs.
| ResourceEvent | ||
DEPENDENCY_RETRIEVED : String = "dependencyRetrieved" [static]
Dispatched when a resource's dependency is retrieved and resolved.
| ResourceEvent | ||
RESOURCE_RETRIEVED : String = "resourceRetrieved" [static]
Dispatched when a resource and all of its dependencies is retrieved.
| ResourceEvent |
resource | property |
resource:IResource
[read-only]A reference to the resource.
Implementation public function get resource():IResource
uri | property |
uri:String
[read-only]An identifier (url or id) of the resource.
Implementation public function get uri():String
ResourceEvent | () | constructor |
public function ResourceEvent(type:String, resource:IResource, uri:String = null)
Parameters
type:String — The type of the event.
|
|
resource:IResource — A reference to the resource.
|
|
uri:String (default = null ) — An identifier (url or id) of the resource.
|
clone | () | method |
public override function clone():Event
Creates a copy of the current object.
ReturnsEvent |
DEPENDENCY_ERROR | constant |
public static const DEPENDENCY_ERROR:String = "dependencyError"
Dispatched when a resource's dependency error occurs. Such as wrong parser type, unsupported extensions, parsing errors, malformated or unsupported 3d file etc..
DEPENDENCY_RETRIEVED | constant |
public static const DEPENDENCY_RETRIEVED:String = "dependencyRetrieved"
Dispatched when a resource's dependency is retrieved and resolved.
RESOURCE_RETRIEVED | constant |
public static const RESOURCE_RETRIEVED:String = "resourceRetrieved"
Dispatched when a resource and all of its dependencies is retrieved.