Home arrow Flash arrow A Simple XML-Based Searchable Database
FLASH

A Simple XML-Based Searchable Database


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.

Author Info:
By: Joachim Schnier
Rating: 5 stars5 stars5 stars5 stars5 stars / 39
July 21, 2004
TABLE OF CONTENTS:
  1. · A Simple XML-Based Searchable Database
  2. · The XML File and Tree
  3. · The Fla File
  4. · ActionScript for Search Engine Continuation
  5. · The Button Scripts

print this article
SEARCH DEVARTICLES

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:

  1. How to create an XML file suitable for Flash,

  2. How to access the XML tree using ActionScript to create a database,

  3. 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.

THE SWF



blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- Critical Flash Vulnerability Heats Up the Web
- More on Nonpersistent Client-Side Remote Sha...
- Nonpersistent Client-Side Remote Shared Obje...
- Using the Decorator Pattern for a Real Web S...
- Using Concrete Decorator Classes
- Delving More Deeply into the Decorator Patte...
- The Decorator Pattern in Action
- A Simple Decorator Pattern Example
- Decorator Pattern

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials