Flash Video Player

Apply a TextFormat to TextField

by admin on September 27, 2007 · 0 comments

in Flash CS3, Sintax, Tutorials

Greetings to all!
Today, I decided to talk about TextFormat as I have been asked more then once some help on how to apply a chosen font to a text field with Actionscript 3.0.

I will start by telling you the basics:

1. – create the needed font and insert it in an Array
2. – create a text field
3. – create an instance of TextFormat
4. – assign the TextFormat to the text field
5. – assign the text to the text field

Without losing any time, let us take a look at a concrete example…

Read more

Share This Post

Related posts

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

Older post: Actionscript 3 the variables

Newer post: SWF to PNG using ByteArray class