I would like to pass an argument (Number) from my mouse event to my function.
something like below, but it`s not working (OBVIOUSLY).
my_mc.addEventListener(MouseEvent.CLICK,myfunction(1));
function myfunction(num:Number){
trace("myfunction: " + num);
}
how can I achieve this with AS 3.0?
Thank you.