The only code you need to change the color of any object is this:
NEW COLOR (object).setrgb(HexadecimalColor);
To change the color of an object on rollover or rollout:
|
onselfevent (rollOver) {
NEW COLOR (this).setrgb(0x0000FF);
}
onselfevent (rollout) {
NEW COLOR (this).setrgb(0x00FFFF);
} |