Packageaway3d.events
Classpublic class LoaderEvent
InheritanceLoaderEvent Inheritance flash.events.Event

Passed as a parameter when a 3d object loader event occurs

Public Properties
 PropertyDefined by
  loader : Object3DLoader
A reference to the loader object that is relevant to the event.
LoaderEvent
Public Methods
 MethodDefined by
  
LoaderEvent
(type:String, loader:Object3DLoader)
Creates a new LoaderEvent object.
LoaderEvent
  
clone():Event
Creates a copy of the LoaderEvent object and sets the value of each property to match that of the original.
LoaderEvent
Public Constants
 ConstantDefined by
  LOAD_ERROR : String = "loadError"
[static] Defines the value of the type property of a loadError event object.
LoaderEvent
  LOAD_SUCCESS : String = "loadSuccess"
[static] Defines the value of the type property of a loadSuccess event object.
LoaderEvent
Property detail
loaderproperty
public var loader:Object3DLoader

A reference to the loader object that is relevant to the event.

Constructor detail
LoaderEvent()constructor
public function LoaderEvent(type:String, loader:Object3DLoader)Parameters
type:String — The type of the event. Possible values are: LoaderEvent.LOAD_SUCCESS and LoaderEvent.LOAD_ERROR.
 
loader:Object3DLoader — A reference to the loader object that is relevant to the event.
Init Parameters
Method detail
clone()method
public override function clone():Event

Creates a copy of the LoaderEvent object and sets the value of each property to match that of the original.

Returns
Event
Constant detail
LOAD_ERRORconstant
public static const LOAD_ERROR:String = "loadError"

Defines the value of the type property of a loadError event object.

LOAD_SUCCESSconstant 
public static const LOAD_SUCCESS:String = "loadSuccess"

Defines the value of the type property of a loadSuccess event object.

Wiki link
Click to go to the wiki page for 'away3d.events.LoaderEvent'

Code examples

Comments