Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
When you deploy your application created in Flash, sometimes the text in the text field will not render properly, because the person viewing that text does not have the same font installed on their computer. One of the ways to overcome that design barrier is to embed a font inside of your SFW file, so that regardless of whether the user has that font, they will still see the design you intended when they view your application. So on the Stage here I have some text that I;ve rotated using the settings in the Properties panel, and I am going to embed this font since I am using Adobe Caslon Pro.
It's safe to assume that not everybody has Adobe Caslon Pro, so this is a good candidate for a font to embed. To embed the font, select it on the Stage and then click the Embed button in the Character section of the Properties panel. This opens up the Font Embedding window. In the Font Embedding window, I can add a name for a font that I want to embed. The default name is going to be Font 1, which doesn't really tell me what font this is. So here I like to use names that describe the font I am using rather than something like headline font or title font.
So I am going to type Adobe Caslon Semibold. So I have named the text. And then in the Character ranges section, I am going to choose which glyphs I want to embed. Since my text is fairly simple and it's only going to be letters, I am going to embed all uppercase and lowercase letters only. I am not going to check the boxes to embed numerals, punctuation, and I am certainly not going to check the All box, because that will embed all the characters, and you can see that 341 glyphs whereas I have 53 estimated glyphs if I just embed the uppercase and lowercase letters.
What that really means is that vector outlines are being embedded into my SWF file, and so the less glyphs I embed, the lower my file size, the faster the application loads, etcetera. So you want to embed as few as possible, but you want to make sure that you cover everything you are actually going to use in that text field. So I have set all my Embed settings and then I'll just click OK to embed the font. Now, when I publish this application, anybody that sees it will see the exact same font that I used when I created the application, whether or not they had that font installed on their system.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.