Package | away3d.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 [override]
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)
Creates a new ParserEvent
object.
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 |
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.
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.