This book helps to 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 enginepulls 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 companion CD contains 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 1 Introduction to XML Applications and ActionScript 2
- Chapter 1 XML Introduction
- Chapter 2 ActionScript 2 Revisited
- Chapter 3 XML and XMLNode Classes
- Chapter 4 Tutorial: Creating a Universal XML Load/onload Class
- Chapter 5 Parsing XML with AS2
- Chapter 6 Tutorial: Creating a Universal XHTML Parser
- Chapter 7 XML Server-Side
Section 2 Components
- Chapter 8 The Menu, MenuBar, and Tree Components
- Chapter 9 The ComboBox Component
- Chapter 10 Connector Components
- Chapter 11 Creating an RSS Feed Reader
Section 3 Creating a Real Estate Web Site
- Chapter 12 Creating Your Own Menu Bar
- Chapter 13 Creating the Database (Part 1)
- Chapter 14 Creating the Database (Part 2)
- Chapter 15 Content Management
Section 4 ActionScript 3
- Chapter 16 ActionScript 3: Basic Tutorial
- Chapter 17 XMLDocument, XMLNode, XML, and XMLList Classes
- Chapter 18 Menu Bar and ComboBox
- Chapter 19 The Search Engine (Part 1)
- Chapter 20 The Search Engine (Part 2)
"...keeping up with the latest best practices in Flash and database design is a difficult process. Joachim Schnier brings these practices together in a concise, and easy to follow manner in Flash XMLApplications. A must-have in the Web 2.0 era."
-- Erik V. Pohovich --
Master Web Developer, New Web Technologies
"Using XML to interact with a database is a must-have skill for anyone that wants to deliver dynamic content ... this book is a great overview of the right technologies for building serious Flash applications benefiting from the power of ActionScript 2.0 and 3.0."
--Nuno Mira --
Flash Developer