Closing a loaded movie clip & returning to a new frame in the parent movie

I have 2 movie clips movie1.swf & movie2.swf.
A button on frame 2 in movie1.swf loads movie2.swf onto layer 1.
I then have a close button in movie2.swf that I need to set up so it closes movie2.swf but instead of returning to frame 2 of movie1 it goes to frame 1.

I know this is probably really simple but I can’t seem to get it right!