the way i code, is that i have a controller function
something like that... this one enterframe loop controls everything.Code:controller = function() { timer() player() enemies() }
to start it....
onEnterFrame = controller;
to stop it...
delete onEnterframe;
to start it again...
onEnterFrame = controller;
so therefore pausing is extremely easy. If you need to pause movie clip animation strille has posted a nice function to do this recently.




Reply With Quote