onRollOver to trigger only once?

Hi!

I’m a newbie to Flash and AS and I have tried Google and these forums for answer but I still haven’t grasped it.

Here goes: I’m loading a button in an onRollOver event. It’s a link with an extra option. The thing is I only want it to load only once and stay put and not repeat every time the mouse rolls over (again). I have tried with different conditions but it doesn’t work. I want it to happen in ONE frame only. Any ideas greatly appreciated. One of my failed tries below:

var rolledOver:Boolean = false;
my_btn.onRollOver = function() {
if (!rolledOver) {
frame.attachMovie(“btn_link1”, “test”, this.getNextHighestDepth);
var rolledOver:Boolean = true;
}

Thanx in advance.
/Chorug