Textbox background

Gabbagabba hey

Easy one here but I forgot how to do this and it riddles me. How do you change the background to your dynamic and static textboxes. Think I did it a while ago but as I said it riddles me now :frowning:

Give your text box an instance name of “yourtextbox” for example and paste the following script on the first frame of your movie. “0x00ccff” is where you place the color hex code in case you didn’t know.:stuck_out_tongue:

_level0.yourtextbox.backgroundColor = "0x00ccff"

Yup… Also, don’t forget that you have to have a border property set to true or border icon clicked for the text field property to set the background color…

Thx alot!!!