This tutorial is about creating a simple database with XML and integrating it into Flash. Since there are a number of ways to parse XML such as XSL or JavaScript, why would you want to use Flash? Because it is platform independent and has powerful features for combining text and pictures.
A Simple XML-Based Searchable Database (Page 1 of 5 )
This tutorial is about creating a simple database with XML and integrating it into Flash. "XML is the phuture of the web", somebody once wrote to me and that is what I am learning wherever something is written about XML. There are a number of ways to parse XML such as XSL or JavaScript. So why should we use Flash to parse XML scripts? There are two major reasons: Flash is platform/browser independent. Now there is another reason. Supposed you have text you want to show in combination with pictures, animations or movies. Flash is the most suitable program which allows you to do that. With the Flash MX capabilities to incorporate Quicktime movies, Flash becomes even more powerful. You will get a taste of that when you go through this tutorial.
Now what are you going to learn in this tutorial? You will learn:
How to create an XML file suitable for Flash,
How to access the XML tree using ActionScript to create a database,
How to create a simple search engine. This is actually a very simple approach to incorporate XML into Flash, which means to me the possibilities are endless! But now have a look at the final product of this tutorial and play around a bit. I strongly recommend you to put trace actions into the script to find out precisely what the variables stand for. Also you can eliminate things or add things. That's what I did to learn about XML and Flash.