Packageaway3d.events
Classpublic class ParserEvent
InheritanceParserEvent Inheritance flash.events.Event

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



Public Properties
 PropertyDefined By
  parser : AbstractParser
A reference to the loader object that is relevant to the event.
ParserEvent
  result : Object3D
A reference to the parsed object that is relevant to the event.
ParserEvent
Public Methods
 MethodDefined By
  
ParserEvent(type:String, parser:AbstractParser, result:Object3D)
Creates a new ParserEvent object.
ParserEvent
  
clone():Event
[override] Creates a copy of the Loader3DEvent object and sets the value of each property to match that of the original.
ParserEvent
Public Constants
 ConstantDefined By
  PARSE_ERROR : String = parseError
[static] Defines the value of the type property of a parseError event object.
ParserEvent
  PARSE_PROGRESS : String = parseProgress
[static] Defines the value of the type property of a parseProgress event object.
ParserEvent
  PARSE_SUCCESS : String = parseSuccess
[static] Defines the value of the type property of a parseSuccess event object.
ParserEvent
Property Detail
parserproperty
public var parser:AbstractParser

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

resultproperty 
public var result:Object3D

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

Constructor Detail
ParserEvent()Constructor
public function ParserEvent(type:String, parser:AbstractParser, result:Object3D)

Creates a new ParserEvent object.

Parameters
type:String — The type of the event. Possible values are: Loader3DEvent.PARSE_SUCCESS, Loader3DEvent.PARSE_ERROR and Loader3DEvent.PARSE_PROGRESS.
 
parser:AbstractParser — A reference to the parser object that is relevant to the event.
 
result:Object3D — A reference to the parsed object that is relevant to the event.
####INIT####
Method Detail
clone()method
override public 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
PARSE_ERRORConstant
public static const PARSE_ERROR:String = parseError

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

PARSE_PROGRESSConstant 
public static const PARSE_PROGRESS:String = parseProgress

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

PARSE_SUCCESSConstant 
public static const PARSE_SUCCESS:String = parseSuccess

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