MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 403

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

Another example of an XML
<glyphRange name="Numerals [0..9] " id="3" >
<range min="0x0030" max ="0x0039" />
<range min="0x002E" max ="0x002E" />
</glyphRange>
This range of characters includes the Unicode values 0x0030 (zero) through 0x0039 (9), as
well as 0x002E (.).
Before you create a custom character set, you need to know the characters and their
corresponding Unicode values. The best place to find Unicode values is the Unicode
Standards web site, www.unicode.org, which contains the Unicode Character Code chart for
dozens of languages.
To add custom character sets, you need to edit an XML file in the Flash installation
folder. Before you edit this file, you should make a backup copy in case you want to
revert to the original Unicode table.
Macromedia recommends that you do not modify the existing character sets that are
installed with Flash, and that you instead make your own custom character sets that
include the characters and punctuation that you require.
To create and use a custom character set:
1.
Open the UnicodeTable.xml document, located in the <Flash install
directory>\<language>\First Run\FontEmbedding\ directory, using an XML or text editor
such as Notepad or TextEdit.
Remember to save a backup of this document, in case you want to revert to the
original file that is installed with Flash.
2.
Scroll to the bottom of the XML document and add the following XML code directly
before the closing
<glyphRange name="Uppercase and Numerals [A..Z,0..9] " id="100" >
<range min="0x0020" max ="0x0020" />
<range min="0x002E" max ="0x002E" />
<range min="0x0030" max ="0x0039" />
<range min="0x0041" max ="0x005A" />
</glyphRange>
3.
Save your changes to UnicodeTable.xml.
If you have Flash open, you must restart the application before you can use the new
character set.
4.
Open or restart Flash and then create a new Flash document.
node is the
glyphRange
</fontEmbeddingTable>
Numerals [0..9]
node:
node:
Using fonts
403

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents