Flash XML Applications: Use AS2 and AS3 to Create Photo Galleries, Menus, and Databases

Joachim Bernhard Schnier

  • 出版商: Focal Press
  • 出版日期: 2007-10-01
  • 售價: $1,720
  • 貴賓價: 9.5$1,634
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 0240809173
  • ISBN-13: 9780240809175
  • 相關分類: XML
  • 海外代購書籍(需單獨結帳)




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.

Table of Contents

XML Introduction; Flash and XML;AS2 revisited; Parsing XML with AS2;Parsing complex XML files; Tutorial - Creating a universal XHTML parser; XML sendAndLoad; The menu, menubar, tree components; The ComboBox component; The XML connector; Tutorial: Creating an RSS Feed; The Home, News and Contact us pages; Page 3, Search and display of database








XML介紹;Flash和XML;重新訪問AS2;使用AS2解析XML;解析複雜的XML文件;教程-創建通用的XHTML解析器;XML sendAndLoad;菜單、菜單欄、樹組件;ComboBox組件;XML連接器;教程:創建RSS訂閱;主頁、新聞和聯繫我們頁面;第3頁,搜索和顯示數據庫