PDA

View Full Version : Menu Item "Clicked On"


garrettb
04-26-2008, 07:07 AM
I'm waiting on 2 books I've ordered on Flash CS3 and Action Script but I have a deadline and I need to do the following:
When a menu item is clicked, I want it to REMAIN a certain colour/
Currently, when I define a button, I have the option to specify color for Off, Over, Click (I forget the exact terms) but I cannot specify a color for AFTER a button has been clicked.
I tried to create a 2 frame movie above a button, which would overlay its color when clicked, but that prevented the button from being clicked.
This is VERY BASIC stuff, surely, and I just need a pointer on how to implement this.
Please respond - this forum doesn't seem to be very active.
Thanks in advance,
Garrett

rrh
04-28-2008, 04:49 PM
You could make the button itself transparent (alpha=0) and the roll over and off will change the frame of a movieclip below it. Then it won't get in the way of your button.

Temporal
05-08-2008, 10:59 PM
There's no easy way that I know of, but maybe you could try this.

Instead of a button symbol, try making a movieclip, with a button inside of it. When the button is clicked, have the movieclip go to the next frame, which would have the same button, but a different color.

This would mean that you would have to have 2 versions of that button, but I think it should work.