AS2 Timeline Help please

I am on a major time crunch right now since I need to have this site up and live about 3 mins from now. I know I probably wont get this fixed by then but the sooner the better.

My issue is this and I wish I could have found it in the 4 hrs of me trying to search and try different ways of getting it to work.

I need to goto a specific frame backwards on the main timeline. I am not an actionscript person. So still quite new. but I will try to explain this in a way that will be easy to understand.

I have 3 frames. Frame 1 Preloader - Frame 2 I have the main site with links and animations, one link sends you to frame 3. Frame 3 pops up a window that I made in flash and on the same timeline that has text and some pictures in it. There is an X to close the window that shows up. But for the life of me I can not get the actionscript correct for the button (the X) to take me back to frame 2. I am going to have more frames with the same concept of frame 3 that need to keep going back to frame 2. its as if your closing a window and its showing your desktop again.

If someone could help me out with this I would be so appreciative and I can complete this website and get it live.

if you would like to see it goto www.brothersdeparted.com/index3.html. and you can see that the X doesnt close the little popup window.

The actionscript I have on frame 2

stop ();


castbtn.onPress = function () {gotoAndStop(3);}
crewbtn.onPress = function () {gotoAndStop(4);}
blogbtn.onPress = function () {gotoAndStop(5);}

//the close button for frame 3. That definately doesnt work
closebtn.onPress = function () {gotoAndStop(2);}

The actionscript for the preloader

// stop the movie from continuing
stop();


// create a function called onEnterFrame
// with this name, it is an event handler
// and is called automatically by the flash
// player every frame at intervals specified
// by the frame rate of the movie
onEnterFrame = function(){
	
	// percent loaded is loaded/total
	var percent_loaded = _root.getBytesLoaded()/_root.getBytesTotal();
	
	// assign percent loaded to preloader movie clip
	// in the form of the variable named value
	preloader_mc.value = percent_loaded;
	
	if (percent_loaded == 1){
		
		// delete the onEnterFrame event handler
		// so that it is no longer being called
		// every frame
		delete onEnterFrame;
		
		// tell the main timeline to play
		play();
	}
}

I am not getting any error codes, it just doesn’t move back in the timeline.
Thanks again.