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

Joachim Bernhard Schnier

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

買這商品的人也買了...

商品描述

Description

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

商品描述(中文翻譯)

描述

添加無縫、互動、由用戶控制的交付到您的Flash應用程序中。本書在您對基本ActionScript(AS)語法的理解基礎上,提供了使用XML在Flash應用程序中以及使用AS2或AS3遷移現有應用程序所需的基礎技能。

從XML介紹、XML解析方法和對AS2的簡短介紹開始,您將學習如何創建一個通用的XML加載/加載類,以及一個通用的XHTML解析器。然後,您將學習如何使用XML作為數據源使用組件,包括菜單、菜單欄、數據網格和樹組件。最後,通過實際經驗,將所有內容結合在一起,開發一個包含XML搜索引擎的房地產網站的設計和開發教程項目。

所有應用程序都使用XML作為數據源並以類文件的形式編寫。為了說明目的,房地產網站的某些部分以AS3重新開發。介紹了新的XML類並提供了具體的代碼示例,演示了應用方法和使用屬性的技巧。特別注意AS2和AS3之間的差異以及如何有效地從一個AS版本過渡到另一個版本。

附帶的CD包含AS2、AS3和XML類示例的所有屬性和方法的代碼。還提供了房地產網站項目的組件。

目錄

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