|
-
How do I change the color of a Dynamic Text BOX, not the actual text, just the BOX?
Ok, so I created a dynamic text box and placed it in the spot I want it to be. But the text BOX is defaulted to white and this is a problem because my TEXT is white. How do I change the color of the BOX, not the text, just the BOX? Sorry for all the caps. I googled this same question and I could only find answers on changing the text, not the box. Then I kept coming across all these action scripts. I don't really think action script is necessary for something so minor, but what do I know? So does anybody know how I can change the BOX color?
-
Prid - Outing
Sorry, you only change the border color with Actionscript (stupid, I know). Just select your Dynamic Textfield, and in the Properties Panel, find a text field labeled Instance Name, and in it, type something like, my_txt - then, click on your Frame, where the text is, open Actions Panel (press F9 for shortcut), and type this:
Actionscript Code:
my_txt.backgroundColor = "0x00FF00";
Then, simply change "0x00FF00" to another Hex Color (sorry, computer doesn't understand color names, only hexidemical color codes...). ColorPicker is a great site to get the HEX color code of a color you want, easily. Once you've found the one you like, simply copy the code shown above the color palette (e.g.: C40889) and change "0x00FF00" to "0xC40889"
So, find a HEX color from the site, and replace my value, "0x00FF00" to "0xcolorcode", because 0x is something which is required in Flash to use HEX codes (HTML Hex color codes require # in front of them, if you find them, be sure to remove it before using in Flash, like, #00FF00 to 0x00FF00).
Another example, one last time, find a color from the site, say, 1BBCE0, then you would replace my code:
Actionscript Code:
my_txt.backgroundColor = "0x00FF00";
with this:
Actionscript Code:
my_txt.backgroundColor = "0x1BBCE0";
Hope you get it, and sorry for Flash not supporting a built-in tool for easily changing background color of a text field
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Really? the border? come now Flash, you really can't be that simple...
aish, well thanks anyway (funny how your the only one actually answering my questions)
I guess I'll change the text color
-
Prid - Outing
Hehe, no problem, and I'm just trying to help you get a good start with Flash, and it seems like others may find your question easy to google, but with proper instructions, you'll learn better
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
hmmmm, I guess these are easy to google.....
aish, well THANKS a bunch~
you sir are awsome
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|