BBM.net is designed to save you time and deliver the highest quality royalty-free music for your multimedia projects. Features include: over 450 Music Loop Packages from some of the best composers in the business, our music search engine to speed your selection process, alternate music versions & bonus sounds to use for rollovers or transitions, free technical support and free consulting.
XML-Based Searchable Database (part 3): list matches, preloader and more...
By Joachim Schnier
Introduction
This tutorial is part 3 of the tutorial series about creating a simple database with XML and integrating it into Flash. This part shows you how to do advanced search using more complex XML files. Since I am not going into details about XML itself or how to access the XML with actionscript, I strongly recommend that you read first the other two tutorials A simple XML-based searchable Database and Part 2 of it.
What is new in this version 3 and what will you learn?
So far we were able to find only one match, but the reality is that often we have more than one match and want to see all matches listed. This is done using the listbox component
In the other tutorials I have shown how to use an input textfield to search for something. In this version I use radiobuttons and checkboxes, which will lead the user specifically to what he/she wants to find.
Finally, in this version I used a lot of components but components are always loaded prior to anything else. Here I show a preloader version, where the actual movie is loaded into a base movie.
But first as usual have a look at the final product...