If you're using 3ds max to try to do augmented reality using FlarToolKit in flash you MAY have run into an error 126 when trying to install feeling softwares 3.05c version of ColladaMax
this error 126 where the DLE file fails to initialize has to do with the directX SDK not being installed. This will happen on the stock 32-bit version AND the modified 64-bit version.
There's not really any documentation that will let you know this, and you'll probably waste a few days trying to figure it. That's what I just did unfortunetly.
Hopefully this will help. download the below 2 files and install them. After that collada export is smooth sailing.
the built in autodesk collada DAE export works OK, but it mostly sucks and gets texture mapping wrong.
http://www.microsoft.com/downloads/details.aspx?familyid=2da43d38-db71-4c1b-bc6a-9b6652cd92a3
http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647
so I needed to record a double click in flash for a project and went looking for code.
wow. there's a lot of convoluted and LONG code out there for such a simple thing! recording a double click shouldn't require 30 lines of code. if it does, you're doing something seriously wrong.
here's MY actionscript 2 (AS2) code for detecting a double click in flash if you want to change the speed at which you want to detect make 'double_click_wait' higher or lower. 11 lines of code is all you should need.
//mouse double click
var double_click_wait = 300;
var lastClick = 0;
var mouseListener:Object = new Object();
mouseListener.onMouseUp = function() {
if ((getTimer()-previousClick) < double_click_wait) {
trace("mouse double click ");
previousClick = 0;
}
previousClick = getTimer();
};
Mouse.addListener(mouseListener);
(126) Total entries in journal
// Finland 2003
"That was when I realized. I asked myself could some of what these people be talking about actually be dangerous? And the best thing I can do is stay close to them, track what they are interested in and either hack it or try to confuse the spaces in which they operate". - Rob Van Kranenburg