I have a scene with a question in every frame and a button that takes me to a random next frame and a textbox showing the current frame i'm in. This is my actions for it:

stop();

import flash.events.MouseEvent;

function onClick(event:MouseEvent):void
{
// generate a random number from 1 to 3
var nRandom = 1 + Math.floor(Math.random() * 7);
// tell timeline to goto and play the random number 'nRandom'
gotoAndStop(nRandom);

}
proceed.addEventListener(MouseEvent.CLICK, onClick);

//shows current frame
function frameNumberText(event:Event):void
{
var frames:Number;
frames=currentFrame;
textBox.text = (String(frames));
}
textBox.addEventListener(Event.ENTER_FRAME, frameNumberText);


what I want is, in every frame there should be an answer showing after 20 sec. Or by clicking "show answer" the answer appears. But i want it in the main action and one code referring to all answers to show.

Just came to think of having the answer behind the background and having the background brought back in the scene. one code and one object being used. But the background settings should restart at every click of the random button.

Please help! I'm quite a novice at flash and need clear instructions.

/Thanks!