| Creating a TextField in
your flash movie is very easy. Basically, you can do
most of the settings via the Flash editor UI, e.g. change
the text color, font size... etc. However, if you put
your text under a mask (or a clip that contain a text
field under a mask), you may run into a problem. Your
text does not appear in the final movie!
In order for the text to show up, you
need to embed the font into your movie. You can do so
via the Flash editor UI OR if you've created the textfield
in actionscripts, you can do so with the following code:
// assuming that you've created a textfield
"tf"
tf.embedFonts = true;
|
The issue is easy to solve if you have your text in
english. But if you are using non-english text, you
may not be able to embed the corresponding font. The
work around is to avoid the masking (if possible).
< Tutorials
Index - Post
suggestions >
|