To load existing XML data, or use a different format for the XML file, use the loadVariables action, the getURL action, the LoadVars object, or the XML object to create a document that contains multilanguage text by placing the text in an external text or XML file and loading the file into the movie clip at runtime.
|
UTF Format |
First Byte |
Second Byte |
|---|---|---|
|
UTF‑16BE |
OxFE |
OxFF |
|
UTF‑16LE |
OxFF |
OxFE |
Use the loadVariables action to load an external file.
Use the getURL action to load an external file from a specified URL.
Use the LoadVars object (a predefined client-server object) to load an external text file from a specified URL.
Use the XML object (a predefined client-server object) to load an external XML file from a specified URL. For more information, see XML in the ActionScript 2.0 Language Reference.