/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
[Embed(source="yourthing.DAE", mimeType="application/octet-stream")] private var theModel:Class; var byteArray:ByteArray = new theModel(); var yourDAE:DAE = new DAE(); yourDAE.load(byteArray, materal); scene.addChild(yourDAE);
URL: http://www.destroyyourcomputer.com