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####
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 ####WIKI####

Code examples

Comments