Packageaway3d.events
Classpublic class Loader3DEvent
InheritanceLoader3DEvent Inheritance flash.events.Event

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

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

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

Constructor detail
Loader3DEvent()constructor
public function Loader3DEvent(type:String, loader:Loader3D)Parameters
type:String — The type of the event. Possible values are: Loader3DEvent.LOAD_SUCCESS and Loader3DEvent.LOAD_ERROR.
 
loader:Loader3D — 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 Loader3DEvent 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_PROGRESSconstant 
public static const LOAD_PROGRESS:String = "loadProgress"

Defines the value of the type property of a loadProgress 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.Loader3DEvent'

Code examples

Comments