PDA

View Full Version : Dynamic text field in nested mc


RysChwith
10-21-2005, 08:04 PM
I'm having problems with a dynamic text field not displaying its text. It's nested several clips deep, but if I check the "display variables" debug option, it's receiving the text from the variable; if just doesn't show.

After searching around a bit, I've tried the following things:

* Setting the mask through ActionScript, rather than through the GUI
* Making the dynamic text field its own movie clip
* Embedding the font for the dynamic text field

None of these, either individually or in any combination with the other methods, have shown the text in the text field. Anyone have any other ideas?

Rys

Ledge
10-21-2005, 08:21 PM
check to make sure the field is set to single line for just one line of text. If it is set to multiline I have found that sometimes it will wrap and do funny things.

Also if you are targeting the text field with ".text" make sure you don't have the display as html box chcked. If you do have that checked you will have to use ".htmlText".

oldnewbie
10-21-2005, 09:33 PM
Are you using html formated text? Are you using the normal style on your font only, or using bold and/or italic?

RysChwith
10-24-2005, 01:15 PM
The htmlText property turned out to be the trick. Apparently, when you have a masked dynamic text field, you can't update it by changing the variable.

Rys