Skip to main content
Inspiring
July 21, 2008
Question

inconsistent font size in dynamic text field

  • July 21, 2008
  • 1 reply
  • 456 views
I am importing XML into a dynamic text field in flash and setting the font size in ActionScript with the code pasted below. This is a question and answer quiz and for some reason on some of the answers the font-size is inconsistent with the rest. Maybe a few sizes smaller. Not sure why this is happening and only on a few of them. Any ideas? and how I can fix??
This topic has been closed for replies.

1 reply

Inspiring
July 22, 2008
Please post code for the TextField you apply the formating to.

Also keep in mind that if you append the text to textfield - it will keep a previously applied formating. If you replace the text completely - it will apply a defaultFormat.

Inspiring
July 22, 2008
everything is done with Action Script. here is the code for the answer part of the text field, which is where the inconsistent font size is occurring.