I have 4 frame on my movie.

each frame has 4 goto buttons.

if a user clicks the 1st goto button, it goes to the 1st frame.
if a user clicks the 2nd goto button, it goes to the 2nd frame.
if a user clicks the 3rd goto button, it goes to the 3rd frame.
if a user clicks the 4th goto button, it goes to the 4th frame.
if a user clicks the 5th goto button, it goes to the 5th frame.

You can see it at http://dot.kr/x-test/swfTest.htm at the moment.

I like to make a backFrame button on the movie like the following.

If a user clicks the 3rd goto button at the 4th frame, it goes to the 3rd frame. Then the user clicks the backFrame button ath the 3rd frame, it goes to the 4th(previous) frame.

If a user clicks the 2nd goto button at the 4th frame, it goes to the 2nd frame. Then the user clicks the backFrame button at the 2nd frame , it goes to the 4th(previous) frame.

If a user clicks the 3rd goto button at the 2nd frame, it goes to the 3rd frame. Then the user clicks the backFrame button at the 3rd frame, it goes to the 2nd(previous) frame.


If a user clicks the 1st goto button at the 3rd frame, it goes to the 1st frame. Then the user clicks the backFrame button at the 1st Frame, it goes to the 3rd(previous) frame.

How can I make the backFrame button like the above with your help?