Packagesandy.parser
Classpublic final class ASEParser
InheritanceASEParser Inheritance AParser Inheritance flash.events.EventDispatcher
ImplementsIParser

Transforms an ASE file into Sandy geometries.

Creates a Group as rootnode which appends all geometries it finds.


Example
To parse an ASE file at runtime:
      var parser:IParser = Parser.create( "/path/to/my/asefile.ase", Parser.ASE );
  

To parse an embedded ASE object:
      [Embed( source="/path/to/my/asefile.ase", mimeType="application/octet-stream" )]
      private var MyASE:Class;
        ...
        var parser:IParser = Parser.create( new MyASE(), Parser.ASE );
  



Public Properties
 PropertyDefined by
 InheritedstandardAppearance : Appearance
Set the standard appearance for all the parsed objects.
AParser
Public Methods
 MethodDefined by
  
ASEParser(p_sUrl:*, p_nScale:Number)
Creates a new ASEParser instance
ASEParser
 Inherited
parse():void
Load the file that needs to be parsed.
AParser
Constructor detail
ASEParser()constructor
public function ASEParser(p_sUrl:*, p_nScale:Number)

Creates a new ASEParser instance

Parameters
p_sUrl:* — This can be either a String containing an URL or a an embedded object
 
p_nScale:Number — The scale factor