Groups | Blog | Home
all groups > flash actionscript > october 2005 >

flash actionscript : changing component text color



dvwatkins
10/17/2005 9:37:15 PM
Im having a hard time figuring out how to change the text color of radio
buttons and check boxes. Im making a quiz and all the answer options in each
of the questions are displayed in black text which is the default i assume.
However, my background is a dark grey and im using white text for everything
else. How would i go about changing the color of the text for the radio
buttons and checkboxes. I have tried a few things i have found online but none
of them seem to do anything.
c_reed
11/16/2005 12:00:00 AM
I've done it with checkboxes and it should work the same way. On the same
frame as the question add this code;
radiobuttonName.setStyle("color", 0xFFFFFF);
radiobuttonName.setStyle("color", 0xFFFFFF);
AddThis Social Bookmark Button