ABSTRACT

Add seamless, interactive, user-controlled delivery to your Flash applications. This book builds upon your understanding of basic ActionScript (AS) syntax with the foundational skills that you need to use XML in Flash applications and AS2 or AS3 to migrate your existing applications.

Beginning with an introduction to XML, XML parsing methods, and a short introduction to AS2 you learn how to create a universal XML load/onload Class as well as a universal XHTML parser. Then you learn how to use Components using XML as the data source, including the menu, menubar, datagrid and tree component. Finally, a tutorial project-the design and development of a Real Estate Web site that contains an XML search engine-pulls it all together with hands-on experience.

All the applications use XML as the data source and are written as class files. Select parts of the Real Estate Web site are redeveloped in AS3 for purposes of illustration. The new XML class is presented and specific code examples demonstrate techniques to apply methods and use properties. Particular attention is paid to the differences between AS2 and AS3 and how to effectively transition from one AS version to the other.

The downloadable resources contain code for all of the properties and methods of the AS2, AS3, and XML class examples. Components for the Real Estate Web site project are also provided.

section |72 pages

Introduction to XML Applications and Actionscript 2

chapter |8 pages

XML Introduction

chapter |10 pages

ActionScript 2 Revisited

chapter |18 pages

XML and XMLNode Classes

chapter |8 pages

Tutorial

Creating a Universal XML Load/onload Class

chapter |7 pages

Parsing XML with AS2

chapter |10 pages

Tutorial

Creating a Universal XHTML Parser

chapter |10 pages

XML Server-Side

section |38 pages

Components

chapter |10 pages

The Menu, MenuBar, and Tree Components

chapter |5 pages

The ComboBox Component

chapter |12 pages

Connector Components

chapter |9 pages

Creating an RSS Feed Reader

section |92 pages

Creating a Real Estate Web Site

chapter |8 pages

Creating Your Own Menu Bar

chapter |25 pages

Creating the Database (Part 1)

chapter |25 pages

Creating the Database (Part 2)

chapter |32 pages

Content Management

section |114 pages

Actionscript 3

chapter |21 pages

ActionScript 3

Basic Tutorial

chapter |16 pages

Menu Bar and ComboBox

chapter |23 pages

The Search Engine (Part 1)

chapter |16 pages

The Search Engine (Part 2)