Groups | Blog | Home
all groups > flash actionscript > june 2005 >

flash actionscript : How to use a simple array to keep track of buttons clicked


kirknetiq
6/17/2005 11:50:25 PM
I have one frame that has six clickable buttons (which are movie clips). When
you click on a button, your sent to another frame with information about the
area the button represents....(I tried to use hidden text areas...but it would
not work for several reasons). When the user clicks on the close button for
that information, they are sent back to the first frrame to click on another
button. How can I set up a simple array to keep track of the buttons that are
pressed and change their alpha to 50% when clicked?

kglad
6/18/2005 12:20:10 AM
declare you array (say, yourBtnA) and add the following to each button handler:

AddThis Social Bookmark Button