Text does not display in Flash dynamic text field
Sometimes, when text is loaded in a dynamic text field, it does not display. This appears to be a bug when you publish your movie for Flash Player 8 or lower, it does not occur for Flash Player 9.Several discussion on the internet exist as to the probable cause; most of the time this focus arroundĀ font embedding. Surely, font embedding has something to do with it, but the proposed solutions often do not make a difference: Once text is dynamically loaded with actionscript, the text field turns empty!
The Fix
Although several proposed solutions include setting the embedFont property to true, what really makes the difference I think is to TURN OFF THE BOLD SETTING for the text field!
This worked for me, and text with embedded fonts displays correctly.
Resources and links
Some forum topics and posts on this subject, where more detailed problem descriptions can be found:
- http://www.kirupa.com/forum/showthread.php?t=31039
- http://www.sephiroth.it/phpBB/showthread.php?t=2479 [might be another solution, though not tested yet..]
Tags: actionscript, bug, dynamic text, Flash, flash player