Hi Art,

Either try Abdul's advice or use mx.utils.Delegate:

eg. myButton.addEventListener ( "click", Delegate.create ( this, myButtonClick ) );

function myButtonClick ()
{
// handle event here
}

Aral

Abdul Qabiz wrote:

What I interpret, you have seven buttons in mxml and one click function
handling the click events for those buttons. You can identify the button
clicked by using "event.target.id".








Reply via email to