|
Free Open Book
Macromedia Flash 8 Bible |
Using Embedded Fonts with ComponentsIn this section, you will explore how to use a custom font for a Button component. There are two ways to accomplish this: Use a dummy text field that embeds the font you want to use in the component, or add a Font symbol set to export from the Library panel. Both involve some ActionScript. First of all, let's look at the easier of the two methods.
If you don't want to use a dummy text field as this example illustrated, there is another way you can use an embedded font with a component. You can add a Font symbol to the Library panel, and set the font to export with the Flash movie. This method, however, will significantly add more weight (in bytes) to the movie's file size because all characters in the font are exported with the movie. We highly recommend you use an empty TextField instance with specific character ranges to minimize the size of your Flash movies.
|
Main Menu |
| 500 Juegos Gratis | 500 Giochi Gratis | 500 Jeux Gratuits | 500 Jogos Gratis | 500 Kostenlose Spiele |