Flash_and_Flex_03_2009

Books Review

Foundation XML and E4X for Flash and Flex

Author: Jack Herrington Publisher: Friends of Ed Publish Date: 11/17/2008 Pages: 350

Whether you are a designer or developer, this book will help you work with XML and make the transition from ActionScript 2.0 to ActionScript 3.0. It will also provide you with an excellent grounding if you are new to Flash and Flex. In this book, you'll learn how to • Work with the new XML and XMLList classes in ActionScript 3.0 • Build E4X expressions in ActionScript 3.0 to simplify your work flow • Work with XML content in Flash and Flex to create dynamic web applications • Consume REST and SOAP web services in Flash and Flex • Build real-world Flash and Flex XML applications Summary of Contents

X ML is the lingua franca of theWeb. All designers anddevelopers working in a web environment need a sound understanding of XML and its role in application development. Many software packages and organizations allow for the exchange of data using an XML format. Web services and RSS feeds are now commonplace. For those working with Flash and Flex, a thorough understanding of XML is particularly important. XML documents are one option for the data provided to SWF applications. Flash and Flex can load, display, and modify XML content. These applications can also send XML content to other applications for updating or for use in different situations. ActionScript 3.0 introduces some fundamental changes to the way in which Flash and Flex applications work with XML. One significant change is that XML is now a native data type. ActionScript 3.0 also introduces new classes and a different framework for working with external documents. These changes are based on the E4X ECMAScript standard, and they streamline and simplify the process for working with XML in Flash and Flex. In this book, Sas Jacobs gives you an introduction to XML and E4X. She explores the new XML and XMLList classes and explains E4X expressions, providing examples for both Flash and Flex. In addition to explaining how to incorporate XML documents in SWF applications, Sas Jacobs shows you approaches specific to Flash and Flex and explores real-world usage. The book finishes with two case studies. In the first, you will learn how to consume and display information and images from Flickr using Flash. In the second, you will work with Adobe Kuler in Flex.

• Introduction to XML • Generating XML Content • Actionscript 3.0 and XML • Using E4X Expressions • Using the URLLoader Class With XML Documents • Loading Methods Specific to Flex • Loading Methods Specific to Flash • Modifying XML Content With Actionscript 3.0

• Communicating With the Server • Consuming Web Services With Flex • Consuming Web Services With Flash

• Flash Case Study • Flex Case Study

This book is part of friends of ED's 'Foundation' series The Foundation series is perfect for beginners to a technology, because it doesn't assume any previous knowledge. Each book in the series takes you step by step through your chosen technology, starting with the absolute fundamentals and working through all aspects of the technology, ultimately providing you with a firm grasp of the basics that will enable you to create your own applications or web sites. You will learn by following complete examples at every stage of your journey, often by extended case studies that you will build upon throughout the book. The Foundation series will give you the broad and solid base you need in order to progress to a higher level of expertise.

03/2009 (5)

98

Made with FlippingBook HTML5