Home
Username:
Password:
Adobe Flash CS3 Tutorials

Working with Text / Embedded & Device Fonts




Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.


Learn More

Subtitles of the Movie

In this movie, I cover how to use embedded and device fonts in your published SWF files. When you add static text to your movies, by default, Flash will embed the font outlines in the SWF file that gets published. It'll do this for the fonts that you're using. Flash automatically takes the fonts descriptions kearning, letting and so on and embeds all this information in the exported SWF file. This capability to embed fonts makes Flash a great platform for using unusual fonts in movies cause the end user doesn't have to have the same fonts installed on their computers to see the results. This is in contrast to HTML documents that also require the users to have those fonts on their computers. So generally you wanna go with generic fonts. However this ability to embed fonts makes Flash a great platform for using any kind of typeface that you want. However you will need to install all fonts on your publishing computer that you want to embed in this published SWF file that Flash creates for you. For example, if you receive an FLA file from a friend or colleague that uses a font that you don't have installed on your computer you'll get an error message informing you that a substitute font will be used in its place. Let me demonstrate this error for you by opening up a file from one of my students. My students are always sending me files with strange fonts that I don't have on my computer. So I'm used to getting this message here, a missing font warning, one or more fonts used by this movie are not available substitute fonts will be used for display and export, they will not be saved to the Adobe Flash authoring document. So you could either use the default that Flash will pick for you or if you select the choose substitute button there you'll get the font mapping dialog where you can go ahead and map the missing font which in this case is Lucida Casual. Notice that I can also choose a different substitute font here in the dropdown menu from the list of fonts that I have available on my computer, let's go with Lucida Calligraphy there, click OK, Flash goes ahead and opens the file with the substitute font displayed. Now the font may display properly here in the FLA file or the production file, but when the movie is published to the SWF file it may falter because the actual font to which the screen font refers to cannot be found when the movie is published.To check for potential problems you can select view, preview mode, and then choose Anti-Alias text. This is already the default option but if your text appears rough or jagged this could indicate that the text will not be exported when the SWF file is published, so it's a warning to you. So let's go ahead and zoom in to two hundred percent and have a look using the hand tool at the various fonts here on the page so far these look good but you'll notice that this text right here is rough and jagged so that indicates that it could be a potential problem when I publish it. What I wanna do is publish this document and make sure that this text comes out ok.Now when Flash does embed all this font information into the SWF file, this will assure that it will display correctly on your users computers but it will also make the final SWF file bigger. How much bigger will depend on the specific font and how many fonts you are using and you need to embed the information for. If you do want to keep your file sizes as small as possible, you'll want to use device fonts. Device fonts are fonts that won't embed themselves in the SWF file. They will not be exported when the movie is published therefore creating an SWF file with a smaller size. The Flash player displays the text using the closest match on the end users computer to the device font that you choose. This reduces the file sizes since the font outlines are not embedded in this final SWF file. It'll also probably look different than the font you used in your FLA file in the one that you see in your SWF player. So to solve this problem Flash includes three built in device fonts to help produce results closer to what you'll expect. These are available under the type pull down menu here in the properties inspector. Let me select some text here and that looks like it's bit map text, looks like the only text here is this stuff here so if you take the type or font pull down menu here near the top you'll see there are three device fonts they start off with an underline, Sans, Serif and Typewriter. The sans device font is similar to Helvetica or Arial. Serif is similar to Times Roman and Typewriter is similar to Courier. Device fonts can be sharper and more legible then exported font outlines at sizes below ten points. But the primary reason to use device fonts is to make your final published SWF files as small as possible. And that'll conclude this section of the tutorial on working with text in Flash CS3 Professional. In this section you've learned about text Anti-Aliasing, you've learned how to set and change between the three types of text available in Flash. Input, dynamic, and static text. You've learned how to fix spelling errors using the spellchecker. You've gotten a survey of the various text options and attributes that you can set and change using the properties inspector. And in this movie you've learned about embedded and device fonts. Let me now move on to the next section of the tutorial working with sound and give you some tips and techniques for adding sound to the library and to the stage. How to compress your sound and edit the sound within Flash. How to modify Flash sounds settings and then let me conclude with giving you some general tips for working with audio both inside and outside of Flash CS3 Professional.

Tutorial Information

Course: Adobe Flash CS3
Author: James Gonzalez
SKU: 33793
ISBN: 1-934743-05-4
Release Date: 2007-10-12
Duration: 11 hrs / 125 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available