10
Feb
08

Mouse Event - over

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

In AS3 mouse event a handled differently than in AS2. Here is the general procedure for adding a mouse over event to a object.

Mouse Event - over
// you will need a movieclip on the stage with an instance name of cir_mc
// or just download the file above (www.flashcs.org)

cir_mc.addEventListener(MouseEvent.MOUSE_OVER, clickListner);

function clickListner(ev:MouseEvent):void{
	trace("Mouse Over Circle");
}

Found this useful? How about buying me a coffee - simply click here.


0 Responses to “Mouse Event - over”


  1. No Comments

Leave a Reply




Close
E-mail It