ActionScript for Flash MX: The Definitive Guide, 2/e
暫譯: Flash MX 的 ActionScript:權威指南,第二版

Colin Moock

  • 出版商: O'Reilly
  • 出版日期: 2003-01-07
  • 售價: $2,110
  • 貴賓價: 9.5$2,005
  • 語言: 英文
  • 頁數: 1104
  • 裝訂: Paperback
  • ISBN: 059600396X
  • ISBN-13: 9780596003968
  • 相關分類: ActionScript & FLASH
  • 已過版

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

商品描述

Updated to cover Flash MX, the newest version of Macromedia Flash, ActionScript for Flash MX: The Definitive Guide, Second Edition is the one book no serious Flash developer should be without.

ActionScript is Macromedia's programming language for Flash MX, the popular authoring tool for creating rich internet applications and animations for the Web. With Macromedia's new focus on application development, ActionScript now includes a direct drawing API, loading of external MP3 and JPG files, improved sound control, an extensive set of text formatting tools, complete support for component development using movie clip subclasses, local data storage, accessibility features, and much more. And ActionScript for Flash MX: The Definitive Guide is the most complete, up-to-date reference available for the latest version of this language.

Author Colin Moock, one of the most universally respected developers in the Flash community, has added hundreds of new code examples to show new Flash MX techniques in the real world: how to draw circles, save data to disk, convert arrays to onscreen tables, create reusable components, and preload variables, XML, and sounds. The book's language reference alone has nearly doubled from the first edition, with more than 250 new classes, objects, methods, and properties. You'll find exhaustive coverage of dozens of undocumented, under-documented, and mis-documented features.

Along with the new material, Colin Moock has meticulously revised the entire text to conform to Flash MX best-coding practices. In particular, objected-oriented programming and the new event model get special attention in light of changes to Flash MX ActionScript. From sending data between two movies to creating getter/setter properties, the new edition of this book demystifies the often-confusing new features of Flash MX, giving developers easy access to its powerful new capabilities.

ActionScript for Flash MX: The Definitive Guide is structured so non-programmers can learn how to use ActionScript and programmers can take their skills to new heights. If you are in the market to really learn about the hows and whys of ActionScript, then this is the book for you.

Table of Contents

Foreword

Preface

Part I. ActionScript Fundamentals

1. A Gentle Introduction for Nonprogrammers

2. Variables

3. Data and Datatypes

4. Primitive Datatypes

5. Operators

6. Statements

7. Conditionals

8. Loop Statements

9. Functions

10. Events and Event Handling

11. Arrays

12. Objects and Classes

13. Movie Clips

14. Movie Clip Subclasses and Components

15. Lexical Structure

16. ActionScript Authoring Environment

17. Building a Flash Form

Part II. Language Reference

ActionScript Language Reference

 

 

Part III. Appendixes

A. Resources

B. Latin 1 Character Repertoire and Keycodes

C. Backward Compatibility and Player Build Updates

D. Differences from ECMA-262 and JavaScript

E. HTML Support in Text Fields

F. Support for GET and POST

G. Flash UI Component Summary

H. Embedding a Flash Movie in a Web Page

Index

商品描述(中文翻譯)

更新至最新版本的 Macromedia Flash,即 Flash MX,《ActionScript for Flash MX: The Definitive Guide》第二版是每位認真的 Flash 開發者必備的書籍。

ActionScript 是 Macromedia 為 Flash MX 提供的程式語言,這是一個流行的創作工具,用於為網路創建豐富的互動應用程式和動畫。隨著 Macromedia 對應用程式開發的新重點,ActionScript 現在包含了直接繪圖 API、外部 MP3 和 JPG 檔案的加載、改進的音效控制、一整套文本格式化工具、對使用影片剪輯子類別的元件開發的完整支持、本地數據存儲、可及性功能等等。《ActionScript for Flash MX: The Definitive Guide》是針對這種語言最新版本的最完整、最新的參考資料。

作者 Colin Moock 是 Flash 社群中最受尊敬的開發者之一,他新增了數百個程式碼範例,以展示 Flash MX 在現實世界中的新技術:如何繪製圓形、將數據保存到磁碟、將陣列轉換為螢幕上的表格、創建可重用的元件,以及預加載變數、XML 和音效。書中的語言參考部分幾乎是第一版的兩倍,新增了超過 250 個類別、物件、方法和屬性。您將找到對數十個未記錄、記錄不足和錯誤記錄功能的詳細說明。

除了新材料外,Colin Moock 還仔細修訂了整個文本,以符合 Flash MX 的最佳編碼實踐。特別是,面向物件的程式設計和新的事件模型在 Flash MX ActionScript 的變更下獲得了特別關注。從在兩個影片之間傳送數據到創建 getter/setter 屬性,這本書的新版本揭開了 Flash MX 中常常令人困惑的新功能的神秘面紗,讓開發者輕鬆訪問其強大的新功能。

《ActionScript for Flash MX: The Definitive Guide》的結構使得非程式設計師可以學習如何使用 ActionScript,而程式設計師則可以將他們的技能提升到新的高度。如果您想真正了解 ActionScript 的運作方式和原因,那麼這本書就是為您準備的。

目錄

前言

序言

第一部分 ActionScript 基礎

1. 非程式設計師的簡單介紹
2. 變數
3. 數據和數據類型
4. 原始數據類型
5. 運算符
6. 語句
7. 條件語句
8. 循環語句
9. 函數
10. 事件和事件處理
11. 陣列
12. 物件和類別
13. 影片剪輯
14. 影片剪輯子類別和元件
15. 詞法結構
16. ActionScript 創作環境
17. 建立 Flash 表單

第二部分 語言參考

ActionScript 語言參考

第三部分 附錄

A. 資源
B. Latin 1 字符集和鍵碼
C. 向後相容性和播放器版本更新
D. 與 ECMA-262 和 JavaScript 的差異
E. 文本框中的 HTML 支持
F. 對 GET 和 POST 的支持
G. Flash UI 元件摘要
H. 在網頁中嵌入 Flash 動畫
索引