JavaScript Editor Ajax software     Free javascripts 



Main Page

6.
The
sifr.fla
script that you’ve just loaded allows you to embed fonts into the
.swf
files that
render your graphical text. You’ll need to follow the same procedure for each font you want to
use. For the purpose of this example choose the Trebuchet MS font (but you can use the font of
your choice if you prefer). Double-click the white box in the center of the stage. The “Do not
remove this text.” text should appear, and the Properties window should be highlighted. Click
the font combo box from the Properties window, and choose the font you want to use. This
process is shown in Figure 6-6.
7.
Export the new file to an
.swf
file by going to File
?
Export
?
Export Movie. When asked
for the name, you should name the file depending on the font you’ve chosen, because that’s
what the exported file is used for — to store the font. For the purpose of this exercise, choose
super_font.swf
and click Save (see Figure 6-7).
Figure 6-6
Figure 6-7
133
Chapter 6: SE-Friendly HTML and JavaScript
c06.qxd:c06 10:55 133


JavaScript Editor Ajax software     Free javascripts