Macromedia Flash MX Professional 2004 Unleashed
暫譯: Macromedia Flash MX Professional 2004 完全攻略

David Vogeleer, Matthew Pizzi

  • 出版商: SAMS
  • 出版日期: 2004-01-24
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 912
  • 裝訂: Paperback
  • ISBN: 067232606X
  • ISBN-13: 9780672326066
  • 已過版

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

商品描述

 

Macromedia Flash is the key to designing and delivering low-bandwidth animations, presentations, and Web sites. It is also a full-fledged programming API with scripting capabilities and server-side connectivity enabling the creation of engaging applications, sophisticated Web interfaces, and interactive training courses. Flash has the ability to easily integrate with, and add interactivity to, complex media types with powerful and intuitive tools. Developers can rapidly develop high performance, accessible content using pre-assembled building blocks; and they can expand their authoring capabilities with custom extensions from independent developers.

Macromedia Flash MX Professional 2004 Unleashed covers these high-end topics, providing a solid and complete reference for developers. The fundamentals are covered quickly in the first part of the book, while the majority of the content is devoted to the intermediate to advanced developers who need to learn about ActionScript and how Flash works with middleware, such as ColdFusion, ASP, and XML.

Table of Contents

Introduction.

I. GETTING STARTED.

1. Flash MX Professional 2004: What's New?

The Interface. Save and Compact. Flash Projects. Behaviors. Timeline Effects. Components—Version 2.0. Streaming Media. Screens: The New Timeline.

2. Getting Started with Flash MX 2004 Professional.

Humble Beginnings— Where Flash Came From. The Interface. Preferences. Shortcuts. Making a Better Workspace.

3. Creating Graphics in Flash.

The Tools. Creating Custom Colors and Gradients. Tips for Creating Graphics in Flash. Graphic Techniques. Importing Bitmap Graphics. Working with Bitmaps.

4. Flash Animation.

The Timeline. Creating Animation in Flash. Changing Timeline Views.

5. Symbols and the Library.

What Is a Symbol? What Is an Instance? An Overview of the Graphic Symbol. An Overview of the Button Symbol. Motion Tweening. Creating Interactivity with Buttons. The Movie Clip. Nested and Compound Animation. The Library.

6. Publishing.

Where to Find Publishing. Versatile Formats. Publishing Profiles. Macromedia Flash Player 7 and the SWF File Format. Version Field. Sound Settings. Other Flash Tab Settings. Alternative File Settings (JPEG, GIF, and PNG). HTML. Standalone Projectors. FS Commands. QuickTime Settings.

7. Working with Sound and Video.

Working with Sound in Flash. Adding Sound to Your Movie. Sound with ActionScript. Video in Flash.

II. ACTIONSCRIPT.

8. Welcome to ActionScript 2.0.

What Is ActionScript? Object-Oriented Programming. Where Do Objects Come From? Prototyping an Object. Introduction to ActionScript 2.0. Strict Data Typing Variables. Strict Data Typing with Functions. The Actions Panel. Actions Panel Preferences. Reference/Help Panel. Behaviors and the Behaviors Panel. ActionScript Fundamentals. Comments. Code Hints and Naming Conventions. Dot Syntax. The Movie Clip Object. Functions. Conditionals. Loop Statements.

9. Strings, Numbers, and Variables—In Depth.

Types of Data Types. The String Data Type. Manipulating Strings. The Number Data Type. Boolean Data Type. Null Data Type. Undefined Data Type. Array Data Type. Variables.

10. Statements and Expressions.

Statement Syntax. Object Statements. Flow Modifiers.

11. The Movie Clip Object.

Creating Movie Clips. Manipulating Movie Clips. Removing Movie Clips. The Drawing API.

12. Functions.

Creating a Function. Running the Function. Using Parameters in Functions. Functions That Return Values. Nested Functions. Function Scope. Mapping to a Function. The _global Identifier. Variables and Functions. The Arguments Class. Functions Built into Flash.

13. Arrays.

What Is an Array and How Does It Work? Deconstructing an Array. Creating an Array. Retrieving Information from an Array. Adding Elements to Arrays. Naming Array Elements. Removing Array Elements. Changing Elements in Arrays. Advanced Nested Arrays. Additional Array Methods. Sorting Arrays. Applied Example.

14. Events.

Handling Events. Button Events. Movie Clip Events. Events of the Mouse Object. Events of the Key Object. Events of the TextField Object. Cross-Object Events.

15. Loading Movies.

Why Load External Content? What Content Can Be Loaded and Where? Loading JPEGs Dynamically. Loading SWF Files into Flash. Loading External Content into Text Fields. Preloaders.

16. Components.

What Is a Component? The Next Step in Components. Getting Started with Components. Skinning Components. The dataProvider Property. Data Binding. Creating a Version 2.0 Component.

17. Working with Text.

The Text Field Interface. Creating Text Fields. Creating Text Fields in ActionScript. Formatting the Text in Text Fields. Scrolling Text Fields. HTML Text in Text Fields.

18. Debugging.

Writing Proactive ActionScript. Naming Conventions. Identifying Bugs. Debugging from Remote Locations. Strict Data Typing. The Error Object.

III. OUTSIDE OF FLASH.

19. External ActionScript.

Why Use External ActionScript? #include Versus Classpath. Getting Started with External Class Files. Bringing It All Together.

20. Introduction to Data Integration.

Why Dynamic Content? The getURL() Method. The MIME Format. The loadVariables Method. The loadVariablesNum() Method. The LoadVars Object.

21. XML and Flash.

What Is XML? Formatting XML. Elements Versus Attributes. XML and Flash. The XMLConnector Component.

22. Integrating Flash with PHP.

Why PHP and Flash? PHP Scripting for Dynamic Content. Your First PHP Script: Testing the Server. Exploring Optional Modules. PHP Fundamentals. Receiving Data from PHP to Flash. Sending Data from Flash to PHP (to Flash). Echo Valley Becomes a Wishing Well. Using MySQL. Further Reading.

23. Integrating ColdFusion with Flash.

Components. Older Integration Methods. Macromedia Flash Remoting. A Basic Account Management System. Advancing Your Skills.

24. Web Services and Flash.

What Is a Web Service? Why Use Web Services? Creating a Web Service. Consuming Web Services with Flash. Flash Remoting. Consuming Outside Web Services. The Web Services Panel. The WebServiceConnector Component. Absorbing the Google Web Service.

25. Streaming Media.

Why Stream Media? Creating a Flash Video. The NetConnection Object. The NetStream Object. The Video Object. Streaming Video. The Media Components. The Camera Object.

26. Extending the Flash Authoring Environment.

Why Extend Flash? Commands. XML-to-UI Controls. Creating Behaviors. Creating Your Own Panels. Creating Custom Tools. Creating Custom Effects.

27. Beyond Flash.

Flash Alternatives. Enhancing Flash Files. Beyond the Web.

IV. APPENDIX.

Appendix A: The ActionScript Reference.

Global Functions. Browser/Network. Movie Clip Control. Printing Functions. Miscellaneous Functions. Mathematical Functions. Conversion Functions. Global Properties. Identifiers. Statements. Conditions/Loops. Exceptions. User-Defined Functions. Variables. Operators. Assignment. Bitwise Operators. Comparison Operators. Logical Operators. Miscellaneous Operators. Constants. Built-in Classes.

Index.

商品描述(中文翻譯)

Macromedia Flash 是設計和傳遞低帶寬動畫、簡報和網站的關鍵。它也是一個完整的程式設計 API,具備腳本功能和伺服器端連接能力,使得創建引人入勝的應用程式、複雜的網頁介面和互動式訓練課程成為可能。Flash 能夠輕鬆整合並為複雜媒體類型添加互動性,並提供強大且直觀的工具。開發人員可以使用預組裝的組件快速開發高效能、可存取的內容;同時,他們也可以透過獨立開發者的自訂擴展來擴展其創作能力。

《Macromedia Flash MX Professional 2004 Unleashed》涵蓋這些高端主題,為開發人員提供了一個穩固且完整的參考。書籍的前半部分快速介紹了基本概念,而大部分內容則專注於中級到高級開發人員,他們需要了解 ActionScript 以及 Flash 如何與中介軟體(如 ColdFusion、ASP 和 XML)協同工作。

目錄

引言。

I. 開始使用。

1. Flash MX Professional 2004:新功能?
介面。儲存與壓縮。Flash 專案。行為。時間軸效果。元件—版本 2.0。串流媒體。螢幕:新的時間軸。

2. 開始使用 Flash MX 2004 Professional。
謙卑的開始—Flash 的起源。介面。偏好設定。快捷鍵。創建更好的工作區。

3. 在 Flash 中創建圖形。
工具。創建自訂顏色和漸層。在 Flash 中創建圖形的技巧。圖形技術。導入位圖圖形。處理位圖。

4. Flash 動畫。
時間軸。在 Flash 中創建動畫。更改時間軸視圖。

5. 符號與庫。
什麼是符號?什麼是實例?圖形符號概述。按鈕符號概述。運動補間。使用按鈕創建互動性。影片剪輯。嵌套和復合動畫。庫。

6. 發佈。
在哪裡找到發佈。多功能格式。發佈配置檔。Macromedia Flash Player 7 和 SWF 檔案格式。版本欄位。聲音設定。其他 Flash 標籤設定。替代檔案設定(JPEG、GIF 和 PNG)。HTML。獨立放映器。FS 命令。QuickTime 設定。

7. 處理聲音和視頻。
在 Flash 中處理聲音。將聲音添加到您的影片。使用 ActionScript 的聲音。在 Flash 中的視頻。

II. ACTIONSCRIPT。

8. 歡迎來到 ActionScript 2.0。
什麼是 ActionScript?物件導向程式設計。物件從何而來?物件的原型。ActionScript 2.0 介紹。嚴格的資料類型變數。函數的嚴格資料類型。動作面板。動作面板偏好設定。參考/幫助面板。行為和行為面板。ActionScript 基礎。註解。代碼提示和命名慣例。點語法。影片剪輯物件。函數。條件語句。迴圈語句。

9. 字串、數字和變數—深入探討。
資料類型的類型。字串資料類型。操作字串。數字資料類型。布林資料類型。空值資料類型。未定義資料類型。陣列資料類型。變數。

10. 語句和表達式。
語句語法。物件語句。流程修飾符。

11. 影片剪輯物件。
創建影片剪輯。操作影片剪輯。移除影片剪輯。繪圖 API。

12. 函數。
創建函數。執行函數。在函數中使用參數。返回值的函數。嵌套函數。函數範圍。映射到函數。_global 標識符。變數和函數。Arguments 類。Flash 內建函數。

13. 陣列。
什麼是陣列及其工作原理?解構陣列。創建陣列。從陣列中檢索資訊。向陣列添加元素。命名陣列元素。移除陣列元素。更改陣列中的元素。進階嵌套陣列。其他陣列方法。排序陣列。應用範例。

14. 事件。
處理事件。按鈕事件。影片剪輯事件。鼠標物件的事件。鍵盤物件的事件。文本框物件的事件。跨物件事件。

15. 加載影片。
為什麼要加載外部內容?可以加載什麼內容以及在哪裡?動態加載 JPEG。將 SWF 檔案加載到 Flash 中。將外部內容加載到文本框中。預加載器。

16. 元件。
什麼是元件?元件的下一步。開始使用元件。元件的外觀設計。dataProvider 屬性。數據綁定。創建版本 2.0 元件。

17. 處理文本。
文本框介面。創建文本框。在 ActionScript 中創建文本框。格式化文本框中的文本。滾動文本框。文本框中的 HTML 文本。

18. 除錯。
編寫主動的 ActionScript。命名慣例。識別錯誤。從遠程位置進行除錯。嚴格的資料類型。錯誤物件。

III. 超越 FLASH。

19. 外部 ActionScript。
為什麼使用外部 ActionScript?#include 與 Classpath。開始使用外部類檔。將所有內容整合在一起。

20. 數據整合介紹。
為什麼需要動態內容?getURL() 方法。MIME 格式。loadVariables 方法。loadVariablesNum() 方法。LoadVars 物件。

21. XML 和 Flash。
什麼是 XML?格式化 XML。元素與屬性。XML 和 Flash。XMLConnector 元件。

22. 將 Flash 與 PHP 整合。
為什麼選擇 PHP 和 Flash?用於動態內容的 PHP 腳本。您的第一個 PHP 腳本:測試伺服器。探索可選模組。PHP 基礎。從 PHP 接收數據到 Flash。從 Flash 發送數據到 PHP(到 Flash)。Echo Valley 變成許願井。使用 MySQL。進一步閱讀。

23. 將 ColdFusion 與 Flash 整合。
元件。舊的整合方法。Macromedia Flash 遠端。基本帳戶管理系統。提升您的技能。

24. 網路服務與 Flash。
什麼是網路服務?為什麼使用網路服務?創建網路服務。使用 Flash 消費網路服務。Flash 遠端。消費外部網路服務。網路服務面板。WebServiceConnector 元件。吸收 Google 網路服務。

25. 串流媒體。
為什麼要串流媒體?創建 Flash 視頻。NetConnection 物件。NetStream 物件。視頻物件。串流視頻。媒體元件。Camera 物件。

26. 擴展 Flash 創作環境。
為什麼要擴展 Flash?命令。XML 到 UI 控制。創建行為。創建您自己的面板。創建自訂工具。創建自訂效果。

27. 超越 Flash。
Flash 替代方案。增強 Flash 檔案。超越網路。

IV. 附錄。

附錄 A:ActionScript 參考。
全域函數。瀏覽器/網路。影片剪輯控制。列印函數。雜項函數。數學函數。轉換函數。全域屬性。標識符。語句。條件/迴圈。例外。使用者定義函數。變數。運算子。賦值。位元運算子。比較運算子。邏輯運算子。雜項運算子。常數。內建類別。

索引。