Flash XML Applications: Use AS2 and AS3 to Create Photo Galleries, Menus, and Databases
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 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.
What people are saying - Write a review
We haven't found any reviews in the usual places.
Creating an RSS Feed Reader
XMLDocument XMLNode XML and XMLList
Menu Bar and ComboBox
The Search Engine Part
The Search Engine Part
Other editions - View all
_root ActionScript allthe array attribute bedroom ButText chapter child nodes ComboBox component constructor contentXML count01 create data type DataBase class declare defValues Delegate class delete DisplaySearch class drop-down menu event handler Example file extends MovieClip false fla file Flash folder houseDisplay idMap import InitiateXml iniXml instance interface inthe link buttons loadParse loadXML loop menu bar menu buttons method MovieClip MovieClip class myClip myFile myHello MySQL myXML:XML myXML.load namespace needto newXml NextModul node name node value null ofthe parameter parse parse the XML parser prettyPrinting private function private static proxy proxy:Boolean public class public function RealEstate script scrollbar server Sprite String style sheet test the movie text area text field themovie theXML timeline tothe trace trace("A true tutorial undefined Void Web service Wecreate weneed XHTML XML data XML document XML file XML object XML(event.target.data xmlData:XML XMLList XMLNode XPath