Package | away3dlite.events |
Class | public class ParserEvent |
Inheritance | ParserEvent flash.events.Event |
Property | Defined 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 |
Method | Defined by | ||
---|---|---|---|
Creates a new
ParserEvent object. | ParserEvent | ||
clone():Event
Creates a copy of the Loader3DEvent object and sets the value of each property to match that of the original.
| ParserEvent |
Constant | Defined 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 |
parser | property |
public var parser:AbstractParser
A reference to the loader object that is relevant to the event.
result | property |
public var result:Object3D
A reference to the parsed object that is relevant to the event.
ParserEvent | () | constructor |
public function ParserEvent(type:String, parser:AbstractParser, result:Object3D)
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.
|
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.
ReturnsEvent |
PARSE_ERROR | constant |
public static const PARSE_ERROR:String = "parseError"
Defines the value of the type property of a parseError event object.
PARSE_PROGRESS | constant |
public static const PARSE_PROGRESS:String = "parseProgress"
Defines the value of the type property of a parseProgress event object.
PARSE_SUCCESS | constant |
public static const PARSE_SUCCESS:String = "parseSuccess"
Defines the value of the type property of a parseSuccess event object.