README

April 1, 2011 ยท View on GitHub

David Gregory's fork Notes:

This fork of Tim Knip's ASCollada was created to put in place a couple of things.

a) minor bug fixes. b) a conversion from AS3 Arrays to Vectors, where appropriate.

Tim Knip's original README

  • This explains how to use bootstrap ASCollada and begin parsing a collada document.

/** * */ private function buildNode(node:DaeNode):void {

}

/** * */ private function buildScene():void { buildNode(this.document.scene); }

/** * */ public function parse (collada:XML) { var document:DaeDocument = new DaeDocument(); this.document.addEventListener(Event.COMPLETE, onParseComplete); this.document.read(collada); }

/** * */ private function onParseComplete(e:Event) : void { buildScene(); }