Help ENTER_FRAME as3

Hello,

I have this code in frame 1:

gl.addEventListener(Event.ENTER_FRAME, vrata);

 function vrata(e:Event):void{ 
   var br = (Math.round(Math.random() * 1)) ;
   TweenMax.to(gl, 1.5, {colorMatrixFilter:{brightness:br}});
 };  

some filter animation for my nav.button, and it works ok.
Then I added a Mc on frame 2 that should be called from that nav.button from frame 1, and it all got messy…
So, how do I loop filters or stop the play head on frame 1 until my nav kick stuff to gotoAndPlay(2); ?
Thnx.