Flash
  Home arrow Flash arrow A Simple XML-Based Searchable Database
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
FLASH

A Simple XML-Based Searchable Database
By: Joachim Schnier
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 29
    2004-07-21

    Table of Contents:
  • A Simple XML-Based Searchable Database
  • The XML File and Tree
  • The Fla File
  • ActionScript for Search Engine Continuation
  • The Button Scripts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


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

    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


    More Flash Articles
    More By Joachim Schnier


       · I am interested in looking further into this example but can't seem to figure out...
       · You need to hop along to...
     

    FLASH ARTICLES

    - Decorator Pattern
    - Organizing Frames and Layers for Flash Anima...
    - Organizing Frames and Layers
    - Using XML and ActionScript with Flex Applica...
    - Interfaces and Events with ActionScript and ...
    - Manipulating Data with ActionScript in Flex ...
    - ActionScript Syntax for Flex Applications
    - ActionScript in Flex Applications
    - A Closer Look at Apollo`s File System API
    - Using the File System API
    - ActionScript 101
    - Flash Buttons
    - Advanced Flash Animation
    - Creating Your First Animated Movie with Flas...
    - Flash: Building Blocks






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT