11
Feb
08

Mouse Event - up

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 up event to a object.

Mouse Event - up

// 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_UP, clickListner);
function clickListner(ev:MouseEvent):void{
trace(”Mouse Up”);
}

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


0 Responses to “Mouse Event - up”


  1. No Comments

Leave a Reply




Close
E-mail It