Featured Site
» Posted in the Flash Kit Links section
» Title: 3D Jobs
» Description: Free job forum for jobs in Films, Video Games, Multimedia and jobs in flash animation and scripting.
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...