Is there a reason why you reaaly need this on prepareFrame? If not then it would be better to put that code into an enterFrame handler because is where Director expects the heavy code. Leave prepareFrame just for stuff like 3D synchro with bones and exitFrame for navigation between frames.
Why do you think Director expects to find heavy code in the enterFrame() handler?
I think normally there's not a lot of lingo happening each frame cycle. But if there is, it's best if it happens during enterFrame. I did a test once were I had a one second repeat loop during exitFrame in a 1 fps movie. The movie's speed was cut in half. When I moved my test code to enterframe my frameRate was normal.
-- Cole
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
