265
USING FLASH CS4 PROFESSIONAL
Text
Add a string ID to the Strings panel without assigning it to a text field
1
Select Window
> Other Panels > Strings.
2
Click the Settings button and select a language or languages from the list in the Settings dialog box. The languages
you select should include the default language you wish to use and any other languages in which you plan to publish
your work.
3
Type a new string ID and new string in the Strings panel, and click Apply.
Assign an existing ID to a text field
1
Select the Text tool. On the Stage, create an input or dynamic text field.
2
Type the name of an existing ID in the ID section of the Strings panel, and click Apply.
Note:
Press Shift+Enter to apply the ID to the text field, or Enter if the focus is on the ID field.
Editing strings in the Strings panel
After you enter text strings in the Strings panel, use one of the following methods to edit the text strings:
•
Directly in the Strings panel cells.
•
On the Stage in the language selected as the Stage language, using features such as find and replace and spelling
checking. Text that you change using these features is changed on the Stage and in the Strings panel.
•
Edit the XML file directly.
See also
Translate text in the Strings panel or an XML file
“
Find and Replace
” on page 58
“
Check spelling
” on page 250
Change the language displayed on the Stage
1
Select Window
> Other Panels > Strings.
2
In the Stage Language menu, select the language to use for the Stage language. This must be a language you added
as an available language.
After you change the Stage language, any new text you type on the Stage appears in that language. If you previously
entered text strings for the language in the Strings panel, any text on the Stage appears in the selected language. If not,
the text fields already on the Stage are blank.
Enter Asian characters on a Western keyboard
With Flash, you can use Input Method Editors (IMEs) and standard Western keyboards to enter Asian characters on
the Stage. Flash supports more than two dozen IMEs.
For example, to create a website that reaches a broad range of Asian viewers, you can use a standard Western
(QWERTY) keyboard and change the IME to create text in Chinese, Japanese, and Korean.
Note:
This feature affects only text input on the Stage, not text entered in the Actions panel. This feature is available for
all supported Windows operating systems and Mac OS X.
1
Select Edit > Preferences (Windows) or Flash
> Preferences (Macintosh), and click Text in the Category list.
Updated 5 March 2009