PDA

View Full Version : Change the Tint Value


Egg
01-08-2006, 03:01 AM
I'm trying to alter the colour (tint) value of an MC via a button.
I can alter the transparency (alpha)
Why can't I alter the tint via the same code.

on (release) {
target=skinColour;
setProperty(target,_alpha,myAlphaValue);
setProperty(target,_tint,myTintValue);
}

Egg
01-08-2006, 06:03 AM
It's okay. I've found how to change the colours.


on (release) {
myColor='0xffff00';
fillColor=new Color(target);
fillColor.setRGB(myColor)
}


Egg