Papervision3D - Embed DAE/Collada Files In Flex


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. [Embed(source="yourthing.DAE", mimeType="application/octet-stream")]
  2. private var theModel:Class;
  3. var byteArray:ByteArray = new theModel();
  4. var yourDAE:DAE = new DAE();
  5. yourDAE.load(byteArray, materal);
  6. scene.addChild(yourDAE);

URL: http://www.destroyyourcomputer.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.