Here’s how to embed collada files into your Flex. 1 2 3 4 5 6 7 [Embed(source="collada.dae", mimeType="application/octet-stream")] private var Model3D:Class; var byteArray:ByteArray = new Model3D(); var collada:DAE = new DAE(); collada.load(byteArray, material); scene.addChild(collada);
Entries from August 2009
Embeding Collada files on Flex
August 20th, 2009 · No Comments · Flex
Tags:actionscript·embed collada·Flex·mimetype
Write Error Log using VB.NET
August 12th, 2009 · No Comments · .NET
There are times when you will need to write something to the screen to debug your VB.NET code and find it impossible as there are certain things that doesn’t really display a page. A web service don’t normally show a web page after it’s been called and it’s such a pain to debug errors if [...]
Tags:error·error log·filestream·streamwriter·vbnet·warning
JavaScript Timers
August 6th, 2009 · No Comments · Javascript
JavaScript provides setTimeout(), clearTimeout() , setInterval() and clearInterval() for your javascript timer functions which allows you to run a piece of Javascript code at some point in the future. Here are some explanation of the functions. setTimeout ( expression, timeout ); setTimeout() returns a numeric timeout ID that can be used to track the timeout. [...]
Tags:cleartimeout method·javascript timer·setinterval method·settimeout method·timer functions
