34 ActionScript
XML language picker
This sample demonstrates how to use XML and nested arrays to choose
strings of different languages to populate text fields.
You can find the sample source file, xml_languagePicker.fla, in the Samples
folder on your hard disk.
■ In Windows, browse to boot drive\Program Files\Macromedia\Flash
8\Samples and Tutorials\Samples\ActionScript\XML_LanguagePicker.
■ On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ActionScript/
XML_LanguagePicker.
XML menu
This sample demonstrates how to create a dynamic menu with XML data.
The sample calls the ActionScript
XmlMenu() constructor and passes it two
parameters: the path to the XML menu file and a reference to the current
timeline. The rest of the functionality resides in a custom class file,
XmlMenu.as.
You can find the sample source file, xmlmenu.fla, in the Samples folder on
your hard disk.
■ On Windows, browse to boot drive\Program Files\Macromedia\Flash
8\Samples and Tutorials\Samples\ActionScript\XML_Menu.
■ On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ActionScript/
XML_Menu.
Comentários a estes Manuais