Button AS2

I have posted this question earlier, but I don’t seem to understand the variables. How to use them or were to put them.
I’m wondering if there is a way to do it like this:

I have done a fade in and fade out for each frame label section, what I can’t seem to figure out is how to code a button to tell it to finish playing current scene or section before jumping to the frame label associated with the button.

So if you are currently on the _home page and you click the contact button I want to play out current section (_home) (for the fade out) and then gotoAndPlay(_contact) (that fades in)

It is not the entire page that fades in and out just a graphic on each page, the background and everything else stays the same throughout.

If anyone has any ideas on how to write a code that will say play out 10 frames and then gotoAndPlay(_framelable)

Any advice is appreciated!!