O'Reilly logo

Foundation XML and E4X for Flash and Flex by Sas Jacobs

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. ACTIONSCRIPT 3.0 AND XML

So far in this book, you've been introduced to XML and seen some different ways to generate XML content for SWF applications. In this chapter, you'll learn about the role of XML in ActionScript 3.0. If you have been coding with ActionScript 2.0, be prepared to forget any previous experience you have with ActionScript and XML, because things have changed radically.

ActionScript 3.0 completely reworks the XML class and also introduces a new XMLList class. Both represent a leap forward for developers, as the changes will speed up the development process greatly. The new functionality is based on ECMAScript standards and is referred to as E4X.

Another major change is that XML is now a native data type. This means ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required