View Full Version : Changing the color of dynamic text boxes
evworldeditor
09-13-2002, 01:51 PM
I want to display a series of dynamic text messages within a Flash movie, but I don't want the background to be the current white. The background of the dynamic text field needs to be the same color as the rest of the movie.
For example, the background of movie is a dark blue. I want my text to be white over this dark blue background, but the text cannot be fixed. I want the ability to dynamically change it.
Can this be done? If so, how?
Use html tags to change the colour of the text.
SFA
what sfa says is true, and probably the simpleist way to knock your project out.
but i thought i would include this incase you were feeling ambitious. in mx, you can also use the createTextField() action to create your dynamic text box, and the textFormat object to control text properties like color.
mad_A
09-16-2002, 09:06 AM
If you stick each text field into a movieclip and have a rectangle movie on atother layer. Then set the rectangles size and colour to it's parent (the movie holding the text). You can set it's colour the same as with any movie, so that sorts out the background. That will work with flash 5, but as tg said, there are otehr methods available in flash MX.
mad_A
09-16-2002, 09:09 AM
I'm not sure if I explained that clarly enough. If I didn't drop me a mail and I'll send you an example.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.