no - sorry! That's not what i'm trying to do. I didnt explain it very well

In AS3 - i could do this...

Actionscript Code:
stage.addEventListener(MouseEvent.CLICK, onClick);

function onClick (event:MouseEvent):void {
    trace("I CLICKED ON: " + event.target.name)
}


I'm just looking for the AS2 equivalent

Thanks for the reply!