Embedding the Specify font in Flash

1.Go to the Library and right click or choose the New Font,pop will appear on clicking the new font in this popup we can choose which font to embedding into flash give the size of the font,click the linkage Export for AS,Export in frame1 and finaly give the Identifier name for choosing font.For example give the Identifier name as myfont

2. Goto the actionscript panel paste the following codes.,
style = new Textformat();
style.font =”myfont”;

// create the dynamic text field and give the instance name for the text field,

For example we give the textfield instance name as txt

txt.setTextFormat(style);
txt.embedFonts=true;

3. Finally we go Timeline choose the dynamic textfield,go to the properties panel & click the Character Embedding,one pop will come in there we choose the UpperCase[A..Z] & LowerCase[a..z] click ok

4.Test the movie in various system,font will be embed into flash.

Advertisements

Posted on December 19, 2009, in Flash and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: