AS2: Reload frame on collision with wall?

ok, so i am making one of those games where the mouse has to manouver through the maze or whatever, and i can’t seem to get the code so that when the mouse hits the wall of the border of the 550x600 screen, the frame reloads. The frame set-up is a frame before it called “title screen”, then the frame the mc “ball” and the mc “maze” are on called “lv1” and then its a frame called “lv2”. I’ve done many hitTest’s before this one and have never had any major problems. but why isnt this one working?

 onClipEvent(load){
                if(_root.ball.hitTest(_root.maze)){
                       gotoAndPlay("lv1");
               }
        }

thoughts?