Hello Author of Hover Captions
by kirupa | 18 August 2005
[FONT=Arial][SIZE=2][COLOR=#003366][/COLOR]
The question that I would like to ask about your tutorial concerns the fact that your code, which is applied to an actions frame which works fine unless I have code attached to the button that I am presently hovering over. The code on the button seems to be conflicting with the code on the actions layer. In my animation, I have a picture with a movie clip which I am using to change colors as the user rolls over the color buttons;(.
The code that I have attached to each button of color is this:
on (rollOver) {
var colorful = new Color("_root.shapes");
colorful.setRGB(0xFDF9C8);
}
I have about 60 sixty colors that I am setting up and would like to have a caption that hovers near the button which states which color the user is presently over. I have tried modifying the code from the tutorial to work on a button but haven’t had any success as of yet.
Can anyone help me with this?
[/SIZE][/FONT]