Hi,
Is there a way to add an EventListener to a button and make it execute some action when it is clicked without calling a function?
In other words if I have three different buttons and I want to make an action depending on what button was clicked, something like.
If button 1 is clicked do this, if button 2 is clicked do this, if button 3 do this.
Sorry if I don’t know what I’m talking about. I know a different action can be taken using an eventListener and a function assigned to each button but I’m trying to understand more about AS3.
Thanks a lot!