If I have a function that references a Button Component inside a predefined movieClip on stage and the trigger for the button is as follows:
Actionscript Code:hud.*theName*.addEventListener(MouseEvent.CLICK, buttonClicked);
function buttonClicked(e:MouseEvent):void {
//How would I get the *theName* of the button in use?
}
Thanks in Advance.