| Package | sandy.parser |
| Class | public final class ASEParser |
| Inheritance | ASEParser AParser flash.events.EventDispatcher |
| Implements | IParser |
Creates a Group as rootnode which appends all geometries it finds.
var parser:IParser = Parser.create( "/path/to/my/asefile.ase", Parser.ASE );
[Embed( source="/path/to/my/asefile.ase", mimeType="application/octet-stream" )]
private var MyASE:Class;
...
var parser:IParser = Parser.create( new MyASE(), Parser.ASE );
| Method | Defined by | ||
|---|---|---|---|
|
ASEParser(p_sUrl:*, p_nScale:Number)
Creates a new ASEParser instance
| ASEParser | ||
![]() |
parse():void
Load the file that needs to be parsed.
| AParser | |
| Method | Defined by | ||
|---|---|---|---|
|
parseData(e:Event = null):void
Starts the parsing process
| ASEParser | ||
| ASEParser | () | constructor |
public function ASEParser(p_sUrl:*, p_nScale:Number)Creates a new ASEParser instance
Parametersp_sUrl:* — This can be either a String containing an URL or a
an embedded object
|
|
p_nScale:Number — The scale factor
|
| parseData | () | method |
protected override function parseData(e:Event = null):voidStarts the parsing process
Parameterse:Event (default = null) — The Event object
|