Picture Gallery ActionScript Help

Hi guys,

I am creating a flash picture gallery. I have been using this tutorial.

However, I want an image to be displayed the first time you enter the gallery.

Here is the code so far for the first frame:

function turnOff() {

 _root.mc01.gotoAndStop("hidden");

 _root.mc02.gotoAndStop("hidden");

 _root.mc03.gotoAndStop("hidden");

 _root.mc04.gotoAndStop("hidden");

 _root.mc05.gotoAndStop("hidden");

}

stop();

Then each button has:

on (release) {

 turnOff();

 mc01.gotoAndStop("showing");

}

or

on (release) {

 turnOff();

 mc02.gotoAndStop("showing");

}

ect.

Is there a way of making it so mc01 is “showing” the first time you enter the frame. But then when a button is pressed the normal functionality takes place? Maybe an if statement of some kind? Or pass a variable from the frame before?

Also is it possible to make the button which is clicked stay in the over state and not be able to be clicked again until another button is pressed?

Thanks for reading!