oldEnterFrame=onEnterFrame; newEnterFrame=function() { trace("newEnterFrame"); oldEnterFrame(); } onEnterFrame=newEnterFrame;