I have created a mapping application which displays country
maps organized by continent. Each country is a button within a
movie clip which contains all of the country buttons for a
Continent. So the button for Brazil is btnBRAZIL and is within the
MC_SouthAmerica movie clip.
I have created handlers for each button instance (see below).
Each handler does the same thing - sets variables based on the
button itself and calls a handler. This works but will get crazy
when I have 230 buttons.
Is there a way to create a listener or other construct, that
I can attach to the continent clip, that will listen for a button
click, then pass on the information about which button was clicked?