PDA

View Full Version : new Color () issue


Suffrage
08-25-2009, 04:58 PM
Hey, another quick question: I'm using

on (press) {
var colorful = new Color("_root.main_btn");
colorful.setRGB(0xD2B48C);
}

to change the color fill of a button (main_btn) when pressing another button, but after main_btn has the color change, I can no longer see the rollover animation. Any tips? Thanks.

Suffrage
08-25-2009, 06:16 PM
Nevermind, I figured out a fix, I just duplicated the button, turned it into a movieclip and put it underneath the button. Then just targetted the movieclip rather than the button.