EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 660

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
660 Working with External Data
There are several sample files on your hard disk that load XML into a SWF file at runtime.
One sample demonstrates how to create a web log tracker by loading, parsing, and
manipulating XML data. You can find the sample source file, xml_blogTracker.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_BlogTracker.
On the Macintosh, browse to Macintosh HD/Applications/Macromedia Flash 8/Samples
and Tutorials/Samples/ActionScript/XML_BlogTracker.
A second sample demonstrates how to use XML and nested arrays to select 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.
A third 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.

Table of Contents

Related product manuals