On 24/10/2012 21:13, Karl DeSaulniers wrote:
So will this work?

divers_btn.addEventListener(MouseEvent.ROLL_OVER, function() { this.gotoAndStop("OVER");});

I mean. Will this = divers_btn? or do I HAVE to specify divers_btn.gotoAndStop()?
My bad, you're right.

I put divers_btn because button1 means nothing, so use meaningful names - always. Use labels rather than fixed frame numbers.

divers_btn.addEventListener(MouseEvent.ROLL_OVER, function() { divers_btn.gotoAndStop("OVER");});

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to