New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Embedding fonts

From: Flash Professional CS5 New Features

Video: Embedding fonts

In this movie, we'll take a look at the updated Font Embedding menu. I'm going to select a text field on the stage, and this text field has the font Chaparral Pro. Now this is not a font that everybody is going to have installed in their machine, so it's a good idea to embed that font. So with the text selected, I'm going to click the Embed button in the Properties panel to open up the new Font Embedding menu. Note that the Family is already set because I had a text box that uses that Family selected.

Embedding fonts

In this movie, we'll take a look at the updated Font Embedding menu. I'm going to select a text field on the stage, and this text field has the font Chaparral Pro. Now this is not a font that everybody is going to have installed in their machine, so it's a good idea to embed that font. So with the text selected, I'm going to click the Embed button in the Properties panel to open up the new Font Embedding menu. Note that the Family is already set because I had a text box that uses that Family selected.

So, I'm going to set the name to Chaparral, and note that you could choose the style if you'd like. I'm just going to leave it at Regular for now. Then for the Character range, I'm not going to check All because that's going to embed more glyphs than I'm going to use in this field. Right now, there are only letters and punctuation, but just in case I want to put a number in that text field later, I'm going to embed the numbers as well. So Uppercase, Lowercase, Numerals, Punctuation and on the left side here, I can see a list of the fonts that are embedded in this application.

I'll click OK to embed the font. Now let's click the Embed button again and see what else the Font Embedding menu has to offer. The updated Font Embedding dialog box also includes options for exporting a font for ActionScript. The reason you would do that is if you needed to create a text field on the fly, while your application is running in the Flash Player, and you want to make sure that the user has the same experience and the same design as you do when you design the application.

So you can export a font for ActionScript by checking the Export for ActionScript box, in the ActionScript tab of the Font Embedding menu. This used to be set up in the Properties area of the Library. Through there, you can still access this menu, but it will bring up the Font Embedding dialog box instead. So you'll still have options to embed the font. Once you've checked Export for ActionScript, you can choose which Outline format you'd like to embed into your application. I'm going use the Text Layout Framework, and here you can change the name of the class that you'd like to export.

I'm going to leave it the same as my font name that I am embedding. I can choose a Base Class for the font. This is typically going to be just the font class, and you can choose the Export for runtime sharing, if you'd like. So I'll click OK, and if I go to the Library, I can see that that font is embedded in the application, and then I could see its Linkage properties are set up and the name of the class that I've called it in the Linkage properties. You can also bring up that menu again, if I double-click that Font icon in Library.

So I can make any changes that I would like to. So using the new Font Embedding menu, you can more quickly and easily access all the information you need when you're embedding fonts into your applications.

Show transcript

This video is part of

Image for Flash Professional CS5 New Features
Flash Professional CS5 New Features

27 video lessons · 11805 viewers

Todd Perkins
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.