Dreamweaver Extensions

Working with embedded fonts

We've integrated a new option 'Use embedded fonts' to improve the quality of fonts displaying. To turn this function on, set in FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Banner) option 'Use embedded fonts'. After this you have to edit the list of used fonts.

The following example shows the basic structure of the fonts list file:

<?xml version="1.0" encoding="utf-8"?>
<fonts>
    <font title="Myriad Pro" className="MyriadPro" url="fonts/MyriadPro.swf"/>
    <font title="Impact" className="Impact" url="fonts/Impact.swf"/>
</fonts>

We include following fonts in our package (folder 'fonts'):

  • Arial, Arial Bold
  • Tahoms, Tahoma Bold
  • Times New Roman
  • Verdana
  • Myriad Pro
  • Impact

These fonts are integrated in special SWF files. You can find their original FlA files in 'fonts' folder and their description in available_fonts.xml file. Also, by analogy to these files, you can make your own font files using Adobe Flash.

Note: If you use tag <b>, you need to use fonts which have the support of 'Bold' format, for example ArialBold.swf

Text may not be displayed if the option 'Use embedded fonts' is turned on and you use fonts in banner.xml, which is not mention in fonts.xml file.

<fonts>

Description
Main tag and contains the list of the embedded fonts.

<font>

Description
Contains the path to the SWF file, with embedded font.

Attributes

  • url, The absolute or relative URL of the SWF file with embedded font. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://.
  • title, The title of the font.
  • className, The name of the font class.