I am a newbie trying to do some buttons for my website. I have this actionscript for flash 3.0:
this.home.addEventListener(MouseEvent.ROLL_OVER, function(e:MouseEvent): void{
play();
});
stop();
It works, and the flash plays continuously, but I would like to make it play ONLY ONCE when mouse is over the button.
The stop();
in the end frame does not work, it stops the flash from playing a second time on mouse over. Tried ROLL_OVER
and MOUSE_OVER
, no luck.
There must be a simple trick, but not getting to it yet.