• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Sharing Fonts

Just as you can create symbols to share between movies, you can create symbol fonts and share them. After creating a font symbol, you identify it to be exported using the Linkage identifier, in a process identical to the one used to create runtime shared symbols. Use shared fonts to reduce the need to embed the same font outline for multiple movies. When multiple movies share a common font, the font only has to be downloaded once for the first movie, reducing file size and download times for the subsequent movies.

To create a font symbol to share:

1.
Open the Library window. From the Options pull-down menu, choose New Font (Figure 12.11).

Figure 12.11. Choose Options > New Font in the Library window.


The Font Symbol Properties dialog box appears.

2.
Enter a name for your new font symbol in the Name field. From the Font pull-down menu, select the font you wish to include in your library as a font symbol. Check the optional boxes for Style. Click OK (Figure 12.12).

Figure 12.12. Create a font symbol by choosing a font and giving it a name in the Font Symbol Properties dialog box. Here the symbol called Font 1 is created for Kunstler Script.


The font symbol appears in your library.

3.
Select your font symbol in the Library window. From the Options pull-down menu, choose Linkage.

The Linkage Properties dialog box appears.

4.
From the Linkage choices, select Export for runtime sharing. In the Identifier field, enter a unique name for your symbol. In the URL field, enter the path for the source movie that will share this font. Click OK (Figure 12.13).

Figure 12.13. In the Linkage Properties dialog box, mark your symbol font for runtime sharing, give it an identifier, and specify its location relative to the destination file that will use the shared font. If the destination and source file will reside in the same directory, you can simply enter the name of the source file in the URL field, as is shown here.


Your selected font symbol is now marked for export and available to be shared by other movies.

5.
Export your Flash movie as a SWF file. Your selected font symbol resides in the SWF file. This SWF file provides the shared font to other movies.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint