Hi,
I’m trying to break out stuff that happens on a mouse click into a function so that function can be called at another time. here’s what i’m trying to do:
function itemClicked(e:Event):void {
passoff(e.target);
trace(e.target.name); //menuItem1
}
function passoff(e:???){
trace("NAME: "+e.name);
}
the above is obviously not working but i’m wondering how this should be done. i’m clueless.