One more - adding this to an EnterFrame loop will add a new event Listener every single frame like this:
meshesCode._plane.addOnMouseDown(msdwn); I have not tried your code, but I would assume that this would produce extremely many calls to "msdwn" and eventually crash your SWF? Make sure this is added only once and you should see a performance boost. You also have if's in your main render handler. If you read up on Events in AS3, you can easily get rid of this. J -- To unsubscribe, reply using "remove me" as the subject.
