Most text editors that can save files in UTF-16BE or LE automatically add the BOMs to the
files.
If you set the
system.useCodepage
traditional code page of the operating system that is running the player; it is not
interpreted as Unicode. For more information, see
are not Unicode-encoded" on page
About encoding in external XML files
You cannot change the encoding of an XML file by changing the encoding tag. Flash Player
identifies the encoding of an external XML file using the same rules as for all external files: If
no BOM is encountered at the beginning of the file, the file is assumed to be in UTF-8
encoding. If a BOM is encountered, the file is interpreted as UTF-16BE or LE. For more
information, see
"Unicode encoding formats supported by Flash Player" on page
About fonts for Unicode-encoded text
When you use external files that are Unicode encoded, your users must have access to fonts
containing all the glyphs used in your text files. By default, Flash stores the names of fonts
used in dynamic or input text files. During SWF file playback, Flash Player 7 (and earlier
versions) looks for those fonts on the operating system running the player.
If the text in a SWF file contains glyphs that are not supported by the specified font, both
Flash Player 7 and Flash Player 8 attempt to locate a font on the user's system that supports
those glyphs. It is not always possible for the player to locate an appropriate font. The
behavior of this function depends on the fonts available on the user's system as well as on the
operating system running Flash Player.
Using embedded fonts
You can embed fonts for dynamic or input text fields. However, some fonts, particularly those
used for Asian languages, can add significantly to the SWF file size when embedded. With
Flash Basic 8 and Flash Professional 8, you can select ranges of fonts you want to embed.
You can also embed fonts by creating a font symbol in the library. For more information on
this technique, see
"Creating font symbols" on page
366
Creating Multilanguage Text
property to
, the text is interpreted using the
true
"Using external text or XML files that
385.
173.
365.
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?
Questions and answers