Importing an XML file into the Strings panel

After you modify an XML file, if you place it in the directory or folder specified in the Strings panel for that language, the XML file is loaded into the FLA file when it is opened.

You can also import an XML file into the Strings panel from another location. After you import it, when you save, test, or publish the file, the XML file in the folder specified for that language is overwritten. You cannot import an XML file for a language unless it has already been selected as an available language in the Strings panel. You can also add a language and import an XML file with the translation for that language.

To import an XML file into the Strings panel:

  1. Select Window > Other Panels > Strings to open the Strings panel.
  2. Click Import XML to display the Import XML dialog box.
  3. In the Select a Language pop-up menu, select the language of the XML file you are importing, then click OK.
  4. Navigate to the folder and XML file to import.

    The XML information is loaded into the column in the Strings panel for the language you selected in step 3.

    Note: Be sure to select the same language in Steps 3 and 4. Otherwise, you could, for example, import a French XML file into the column for German.

Regardless of where the XML file you imported was located, when you save, test, or publish the Flash document (FLA), a folder for each language in the Strings panel and an XML file for each language are created in the same folder the FLA file is located in. The XML files generated by the Strings panel are always populated with the information in the Strings panel.