|
-
Button colour to show it's selected?
Hi,
I have buttons with black text. The buttons (not the text) change colour to red when you rollover them. I can't seem to work out how to get the colour to stay red when it's clicked to show that it's selected. Do I make a duplicate symbol which is already red to replace it when clicked? And I'm also unsure of the actions I'm supposed to use if any??
Another thing, when I click on a different button, I don't want the previous button to still be selected.
Sorry if it's confusing, I'm kinda lost!
thanks
-
Senior Member
If you plan to use the timeline to change the colors, than substituting an identical image in with a different color with do the trick. Not the best method but it works. If you're planning on using code to change the state of a button, then you could implement the use of a couple of arrays, with one array being that of the button selected, the other array being that of buttons not selected, and thereby controlling the color depending on which button is in which array. I could upload an example... I think it's AS3 though, not sure if you're using that or AS2. HTH.
Wile E. Coyote - "Clear as mud?"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|