Enter Frame

There are two frames in my file
i initialize some var on 1st frame i.e.

var flag:Number=false

player_mc.onEnterFrame=function(){
*** if(this.hitTest(stone_mc)){***
*** flag=true***
*** }***
*** }***


this is perfectly fien if i work only in one frame

but when i came back from 2nd frame to 1st frame
automaticallly becomes flag=false
but i want flag=true

I really need a solution for this.