Hello,
I am such a greenhorn for this code, and am trying to get this right from weeks now.
I am trying to make a the code for playing on every Mouse Over just once, but it keeps looping.
I have this:
stop()
this.home.addEventListener(MouseEvent.ROLL_OVER, function(e:MouseEvent): void{
play();
});
and I guess that I have to removeEventListener after if fires the first time with this like:
this.home.removeEventListener(MouseEvent.ROLL_OVER, arguments.callee);
play();
But it doesn’t work. :stare: Any ideas please?
Deno