hey everyone!
Is it possible to use setRGB inside a btn?
I have a buttom that has a textfield and a background.
I want to change only the color of the textfield!
here is the code i`m using:
function AbtnPress() {
for (var i=1; i<8; i++) {
var btn = _root.A["btnA0"+i];
if (btn == this) {
var visitedcolor = new Color(this);
visitedcolor.setRGB(0xFFFFFF);
}
}
}
for (var i=1; i<8; i++) {
_root.A["btnA0"+i].onPress = AbtnPress;
}
thanks