MACROMEDIA FLASH 8-USING FLASH Use Manual page 383

Using flash
Table of Contents

Advertisement

4.
Save the file in UTF-8 (recommended), UTF-16BE, or UTF-16LE format.
If you are using UTF-16 format, make sure a BOM is included at the beginning of the file
to identify the encoding:
For UTF-16BE, the first byte of the file should be OxFE, and the second byte should
be OxFF.
For UTF-16LE, the first byte of the file should be OxFF, and the second byte should
be OxFE.
Most text editors that can save files in UTF-16BE or LE automatically add the
BOMs to the files.
5.
Use one of the following ActionScript procedures to reference the external file and load it
into the dynamic or input text field:
Use the
loadVariables
loadVariables
Use the
getURL
information, see
Use the
LoadVars
from a specified URL. For more information, see LoadVars in ActionScript 2.0
Language Reference.
Use the
object (a predefined client-server object) to load an external XML file
XML
from a specified URL. For more information, see XML in the ActionScript 2.0
Language Reference.
Creating documents with multilanguage text using the
#include action
You can create a document that contains multiple languages using the
You should save the text file in UTF-8 format. Save the file using an application that supports
UTF-8 encoding, such as Dreamweaver.
You must include the following header as the first line of the file, to identify the file as
Unicode to the Flash authoring tool:
//!-- UTF8
Be sure to include a space after the second dash (-).
action to load an external file. For more information, see
in the ActionScript 2.0 Language Reference.
function
action to load an external file from a specified URL. For more
in ActionScript 2.0 Language Reference.
getURL function
object (a predefined client-server object) to load an external text file
Creating documents with multilanguage text without using the Strings panel
action.
#include
383

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF