Introduction to XML in Flash
       by senocular | Last Updated: 8/29/2004

The following pages will help you get started with using XML in Flash. You will learn the basics of what XML is and how it can be loaded into, used within and sent out of a Flash movie hopefully with a moderately high chance of success.

The content covers Flash MX, Flash MX 2004 and for the most part Flash 5. All examples were made using ActionScript 1.0 and authored in MX (but should work in MX 2004 as well).

 Download Tutorial in Word Format : thanks to lunatic
XML Basics
- Introduction
- Basic XML Structure
- Elements
- Text Nodes
- Attributes
- Additional XML Content
- Evaluating an Example

XML With Respect to Flash
- Introduction
- XML vs Variable Strings
- Loading XML Into Flash
- Preloaders With XML
- White Space and Tracing
- XML to XML Object

Finding Your Way Around An XML Object
- Introduction
- Navigation Through Helpful XML Properties
- Example: Load Security Text
- Evaluation: XML And Your Family Tree
- Example: Squirrel Finder
- Example: Portfolio
- Nested Loops
- Searching XML
- Example: Searching Best of
- Recursive Functions
- Example: MX 2004 ActionScript Classes

Managing XML Data In Flash
- Introduction
- A Better Understanding Of The ChildNodes Array
- Example: Sorted Grades List
- Creating and Editing XML
- XML Methods
- What About Attributes?
- Editing Text Nodes and Element Names
- Additional Helpful Methods
- Example: MP3 Playlist

Sending XML Out From Flash
- Introduction
Example: Simple Editor
- Example: News Editor
Specific Issues
- Introduction
- XML Node Reference Not Returning Value
- Trouble with XML onLoad in AS 2.0 Classes
- XML URL Is Correct, But Still Won't Load
- Sending Formatted XML And/Or CDATA To The Server
- Double-spacing Occurs With Text Nodes And/Or CDATA
- Trouble With Raw Post Data In PHP
- Special Characters in XML



Last Updated: 8/29/2004


SUPPORTERS:'s fast and reliable hosting provided by Media Temple.