View Full Version : MX-onEnterFrame
grandsp5
August 6th, 2003, 12:38 PM
Ok I have been working with the onEnterFrame handler for a while but I still dont have a good grasp of what it does. Does it execute whatever code is written between the brackets every time the movie enters a new frame? Or does it just keep executing the code constantly. And how do I clear the code I wrote inside these brackets so it wont execute later?
It is just delete this.onEnterFrame ? A brief explanation of what it is and how it works would be greatly appreciated. I didnt get much from the help file.
blah-de-blah
August 6th, 2003, 12:41 PM
yyaah, you're pretty much right (from what i know :))...
and yea its just delete this.onEnterFrame. It just stops everythings in the brackets for the onenterframe thing :)
grandsp5
August 6th, 2003, 12:45 PM
If enter frame only executes while the timeline is moving, how come this file still works?
grandsp5
August 6th, 2003, 12:46 PM
This file. It has a stop action but the onEnterFrame handler still works.
kO2n
August 6th, 2003, 12:47 PM
Everything inside the event handler will run at the speed of FPS, thats frames per second of the movie.
Regards,
Viru.
grandsp5
August 6th, 2003, 12:50 PM
Ok so the event handler runs independent of the timeline. So its sorta like a movie clip in that it does its on thing at 12fps or whatever
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.