How about:
function click(eventObject:Object) {
trace( eventObject.target._name );
trace( eventObject.target._parent._name );
}
?
But if you are doing different actions for each button it is
preferable to use a Delegate and create separate function handlers as
it make the co
Hi
I have an application in which I create various buttons in various
panes of an accordion component.
I am having trouble handling events...
I use:
buttonName.addEvent.Listener("click",this);
and then
function click(eventObject:Object) {
// decide what to do
}
but the only way I
2 matches
Mail list logo