Hi Kirupa forum peoples
Im designing a simple menu. As the user roll overs a word, a simple bar slides under the word. I have that working fine, however I want to add a simple piece of complexity in that as it sliders under the word, the bar changes colour.
[COLOR=Navy]on (rollOver) {
// slider - Movie Clip’s Instance Name. button_1 - Button’s Instance Name.
slider.xMove = button_who._x;
{
var colorful = new Color("_root.slider_mc");
colorful.setRGB(0xFF0099);
}
} [/COLOR]
It continues to slide under the word, but it stays the same colour.
Any clues?