Packagesandy.parser
Classpublic class AParser
InheritanceAParser Inheritance flash.events.EventDispatcher
ImplementsIParser
SubclassesASEParser, ColladaParser, Parser3DS

ABSTRACT CLASS - super class for all parser objects.

This class should not be directly instatiated, but sub classed.
The AParser class is responsible for creating the root Group, loading files and handling the corresponding events.



Public Properties
 PropertyDefined by
  standardAppearance : Appearance
[write-only] Set the standard appearance for all the parsed objects.
AParser
Public Methods
 MethodDefined by
  
AParser(p_sFile:*, p_nScale:Number)
Creates a parser object.
AParser
  
parse():void
Load the file that needs to be parsed.
AParser
Property detail
standardAppearanceproperty
standardAppearance:Appearance  [write-only]

Set the standard appearance for all the parsed objects.

Implementation
    public function set standardAppearance(value:Appearance):void
Constructor detail
AParser()constructor
public function AParser(p_sFile:*, p_nScale:Number)

Creates a parser object. Creates a root Group, default appearance and sets up an URLLoader.

Parameters
p_sFile:* — Must be either a text string containing the location to a file or an embedded object.
 
p_nScale:Number — The scale amount.
Method detail
parse()method
public function parse():void

Load the file that needs to be parsed. When done, call the parseData method.