how do you set the color for the fill of a input text box.
i’m not sure how you would do that, but what i would do is to put a colored shape over top of the textbox. An Illusion of sorts.
you can do this with:
[AS]TextField.backgroundColor[/AS]
the color is only visible if the textfield has a border.
Thanks guys!
If I use Actionscript can I control the fill and border with a numeric color value? How?
let’s say your textfield has a instancename “box”
[AS]box.borderColor = 0xFF0000;
box.backgroundColor = 0x0000FF;[/AS]
will give you a red border and a blue background
scotty;)
I had the fill color of the input text box transparent but somehow changed it to white. Can anyone tell me how i can get it transparent again so I can place it over a colored shape
Thanks scotty
I’ll try that now:)
no problem and succes!
Hey Scotty
How can I convert a number like #515671 (from flash) into the # you are using in the actionscript? What system do these # your using stand for?
the '0x" tells flash that it is hexadecimal
so if you have in your Colormixer in flash #FF9934, you put in AS: 0xFF9934
scotty
Works fine now
love it!
Much Thanks
:thumb: