I created a custom class, ThisTest:
and put the following code on the frame of a new fla.Code:class ThisTest{ function ThisTest(){ trace("This: " + this); } }
the output window shows:Code:import ThisTest; anInstance = new ThisTest();
instead of what I expected:Code:This: [object Object]
Duh, generic objects return Object to normal this calls...Code:This: anInstance





Reply With Quote
