Loading Pictures

In this example we load an XML file, then load pictures.


Get Adobe Flash player

Click the arrow to hear the sound, click the picture to see the next animal

Save the fla file to your computer to experiment.
Save the xml file to the same directory.

Explanation

:

The xml file has an array of animals. For each animal there is a name, and 0 or more sounds that the animal makes.

To do:
INDEX, Introduction to XML, XML Messages, A Quiz, Shuffle the Questions, Loading Pictures and Sounds
Next lesson: Changing a Color in ActionScript

Copyright © Zebra0.com
All rights reserved worldwide.

 
 

Loading Pictures and Sounds