Flash 8 Cookbook
暫譯: Flash 8 食譜
Joey Lott
- 出版商: O'Reilly
- 出版日期: 2006-05-16
- 售價: $1,730
- 貴賓價: 9.5 折 $1,644
- 語言: 英文
- 頁數: 536
- 裝訂: Paperback
- ISBN: 0596102402
- ISBN-13: 9780596102401
已過版
買這商品的人也買了...
-
$1,060$1,007 -
$480$379 -
$880$695 -
$1,350$1,283 -
$780$663 -
$3,026$2,875 -
$650$507 -
$680$578 -
$550$468 -
$690$545 -
$99Using MIS (Paperback)
-
$680$537 -
$780$616 -
$720$569 -
$650$514 -
$1,200$948 -
$780$663 -
$620$490 -
$650$507 -
$650$514 -
$750$593 -
$650$553 -
$500$395 -
$530$199 -
$580$458
相關主題
商品描述
Description
This practical, nuts-and-bolts toolkit puts theory into practice with ready-made answers to common Flash development questions. It's the perfect resource for Flash developers, as well as designers who are ready to start doing development work. Using O'Reilly's popular Problem/Solution/Discussion Cookbook format, this book offers 280 standalone recipes that include a brief explanation of how and why the solution works, so you can adapt it to similar situations you may run across in the future.
This practical, nuts-and-bolts toolkit puts theory into practice with ready-made answers to common Flash development questions. It's the perfect resource for Flash developers, as well as designers who are ready to start doing development work.
Flash 8 Cookbook offers quick look-up (and cross-referenced) recipes in four main categories:
- Creating Flash Content
- Building Interactive Flash Interfaces
- Adding Multimedia and Data
- Planning Flash Projects
Using O'Reilly's popular Problem/Solution/Discussion Cookbook format, this book offers 280 standalone recipes that include a brief explanation of how and why the solution works, so you can adapt it to similar situations you may run across in the future. For people who say, "I understand everything in theory, but I don't know where to start in practice," this book offers ready-to-use answers to real-world problems.
Joey Lott is the author of ActionScript Cookbook (O'Reilly) and co-author of Flash MX 2004 ActionScript Bible (Wiley). He's a leading speaker and consultant in the Flash development community.
Table of Contents
Preface
1. Drawing in Flash
1.1 Drawing Straight Lines
1.2 Drawing Curved Lines
1.3 Modifying Curves
1.4 Selecting a Line
1.5 Applying Line Styles
1.6 Controlling How Lines Scale
1.7 Customizing Line Caps
1.8 Customizing Join Styles Between Line Segments
1.9 Creating Effects with Strokes
1.10 Drawing Primitive Shapes
1.11 Drawing Regular Polygons
1.12 Drawing Stars
1.13 Drawing Other Assorted Shapes
1.14 Building Complex Shapes from Simple Shapes
1.15 Drawing Complex Lines and Shapes
1.16 Repositioning Points on Paths
1.17 Freehand Drawing
1.18 Smoothing and Straightening Lines
1.19 Painting Shapes
1.20 Tapered Painting Using a Pressure-Sensitive Graphics Tablet
1.21 Selecting a Shape and Changing Its Attributes
1.22 Applying a Stroke to a Fill
1.23 Applying a Fill to a Closed Path
1.24 Filling in Paths with Gaps
1.25 Mixing Custom Colors
1.26 Saving and Reusing Custom Colors
1.27 Applying Preset and Custom Gradients
1.28 Applying a Fill Across Multiple Elements
1.29 Stretching, Rotating, and Repositioning Fills
1.30 Scaling Elements
1.31 Distorting and Reshaping Elements
1.32 Rotating Elements
1.33 Creating Mirror Images
1.34 Positioning Elements Precisely
1.35 Erasing Content
2. Importing and Exporting Artwork
2.1 Importing Assets from Fireworks
2.2 Importing Content from Freehand MX
2.3 Importing Simulated 3D Shapes from Freehand MX
2.4 Importing Acrobat PDF Content
2.5 Importing Illustrator AI and EPS Content
2.6 Exporting Single-Frame Images
2.7 Exporting Animated GIF Files
2.8 Exporting Image Maps (HTML Images with Clickable Regions)
3. Structuring Movies and Laying Out Content
3.1 Setting the Background Color
3.2 Setting Stage Dimensions
3.3 Setting the Frame Rate
3.4 Applying New Default Document Settings
3.5 Creating Document Templates
3.6 Lengthening the Duration of the Movie
3.7 Changing Contents on Stage
3.8 Managing Content with Layers
3.9 Hiding, Locking, and Customizing the Display of Layer Content
3.10 Customizing the Display of Layers and Frames
3.11 Using Guide Layers
3.12 Managing Complex Content with Layer Folders
3.13 Laying Out Page Elements Proportionately
3.14 Aligning, Distributing, Resizing, and Spacing Elements
3.15 Nudging Elements with the Keyboard
3.16 Grouping Elements
3.17 Reusing Elements: Creating Symbols
4. Creating Animation
4.1 Animating Changes in Location or Appearance
4.2 Animating Along Curved Paths
4.3 Applying Acceleration and Deceleration with Easing
4.4 Applying Advanced Tweening Effects
4.5 Animating Rotation
4.6 Looping Animations
4.7 Previewing Playback
4.8 Viewing Multiple Frames Simultaneously
4.9 Editing Many Frames Simultaneously
4.10 Morphing Graphics with Shape Tweens
4.11 Controlling Morphing
4.12 Creating Nested Animations
4.13 Copying Animations
4.14 Changing a Movie Clip's Location at Runtime with ActionScript
4.15 Animating Runtime Location Changes with ActionScript
5. Simulating 3D in Flash
5.1 Solutions for Integrating 3D with Flash Projects
5.2 Creating 3D Objects
5.3 Adding Simple 3D Animation to Flash
5.4 Animating a 3D Shape Morph
5.5 Vector-Based 3D Graphics
5.6 Realistic Raster-Based 3D Graphics
5.7 Creating 3D Buttons
5.8 Using 3D Models in Flash Not Originally Created in Swift 3D
5.9 Creating a 3D Product View from Multiple Angles
5.10 Rendering Swift 3D Animations as Flash Video
5.11 Adding 3D Graphics Without Leaving Flash
6. Composing Images with Bitmaps and Masks
6.1 Importing Bitmaps
6.2 Editing Bitmaps
6.3 Fitting Bitmaps Inside Shapes
6.4 Converting Bitmaps to Vector Art
6.5 Animating Bitmaps
6.6 Optimizing Bitmaps for Export
6.7 Using Bitmaps with Transparency
6.8 Masking Page Elements
6.9 Animating Masks
7. Working with Text Basics
7.1 Adding Static Text to the Stage
7.2 Changing the Appearance of Text
7.3 Making Text Follow a Curve
7.4 Adding Drop Shadows to Text
7.5 Changing the Width of Static Text Fields (WithoutStretching the Text)
7.6 Resizing Text Fields (Stretching the Text)
7.7 Setting Margins, Indentation, and Leading
7.8 Setting Space Between Characters
7.9 Optimizing Static Text for Minimum File Size
7.10 Superscripting and Subscripting Characters
7.11 Making Text Nonselectable
7.12 Creating Text Hyperlinks
7.13 Adding an Email Link to Static Text
7.14
Using Static Text
7.15 Calling ActionScript Functions from Static Text
7.16 Making Small Fonts Readable
7.17 Checking Spelling
8. Working with Dynamic Text
8.1 Creating Text that You Can Modify at Runtime
8.2 Changing Text at Runtime
8.3 Accepting User Input
8.4 Accepting Password Input
8.5 Limiting the Length of User Input
8.6 Setting Allowable Characters for Input
8.7 Retrieving User Input
8.8 Resizing Dynamic or Input Text Fields
8.9 Creating Multiline Text
8.10 Creating Scrolling Text
8.11 Specifying Wrapping of Multiline Fields
8.12 Using HTML Tags in Text
8.13 Entering International and Nonstandard Characters
8.14 Ensuring that Text Displays in the Original Font
8.15 Applying CSS
9. Adding Interactivity
9.1 Creating Buttons from Scratch
9.2 Creating Buttons that Animate
9.3 Defining the Area that Activates the Button
9.4 Creating Hotspots with Invisible Buttons
9.5 Making Buttons Respond to Clicks
9.6 Making Buttons Respond to Mouse Rollovers
9.7
Off the Instance
9.8 Building Menus with Buttons
9.9 Using Slider Controls
9.10 Using a Dial Control
9.11 Creating Custom Cursors
9.12 Creating Animated Cursors
9.13 Creating Interactive Custom Cursors
9.14 Hiding the Hand Cursor
9.15 Detecting Keystrokes
10. Managing Playback
10.1 Pausing a Movie After It Loads
10.2 Preventing the Movie from Looping
10.3 Dividing the Timeline into Segments
10.4 Skipping the Playhead to a Different Frame of the Timeline
10.5 Creating a Basic Interface to Control Timeline Playback
10.6 Playing the Timeline Backward
10.7 Creating Seek Buttons
11. Managing Movie Clips
11.1 Performing Actions Repeatedly Over Time
11.2 Applying Transparency to Movie Clips
11.3 Fading Movie Clip Instances In and Out
11.4 Adjusting Movie Clip Instance Color
11.5 Animating Color Changes
11.6 Brightening Movie Clip Instances
11.7 Transforming Movie Clips (Rotation, Scaling, and Skewing)
11.8
Movie Clip (or a Button or Text Field)
11.9 Creating New Movie Clips Based on Existing Movie Clips
11.10 Generating Unique Depths
11.11 Controlling Movie Clip Playback from Different Timelines
11.12 Creating Simple Drag-and-Drop Functionality
11.13 Constraining Drag-and-Drop Areas
11.14 Changing Movie Clip Visibility
11.15 Relocating or Moving Movie Clips
11.16 Detecting Collisions (or Overlaps) Between Two Movie Clips
11.17 Adding Movie Clips at Runtime
12. Creating Presentations and Slideshows
12.1 Building a Presentation Using the Built-in Template
12.2 Building a Presentation Using a Slide Presentation
12.3 Adding Back and Forward Buttons to a Slide Presentation
12.4 Adding Transitions to Slide Presentations
12.5 Building a Presentation Using the Flash 8 Cookbook Components
12.6
Components
12.7
Flash 8 Cookbook Components
12.8 Building an Image Slideshow Using a Flash Template
12.9
Components
12.10
Flash 8 Cookbook Components
13. Building Flash Forms
13.1 Adding a Form Control for Gathering Text Information
13.2 Adding a Password Form Control
13.3 Adding a Menu Form Control
13.4 Adding a Checkbox Form Control
13.5 Adding a Radio Button Form Control
13.6 Adding a Form Control for Gathering Numeric Input
13.7 Adding a Clickable Button
13.8 Adding a Button that Can Toggle
13.9 Adding a Form Control for Collecting Date Information
13.10 Performing Actions When the User Clicks a Button
13.11 Retrieving Text Field, Text Input, and Text Area Values
13.12
Numeric Stepper Values
13.13 Retrieving Values from Multiselect Lists
13.14 Retrieving Values from Checkboxes and Toggle Buttons
13.15 Retrieving Values from Radio Button Groups
13.16 Retrieving Date Values
13.17 Submitting Form Data to the Server
13.18 A Feedback Form
14. Building Advanced Flash Forms
14.1
or Radio Button
14.2 Performing Actions When the User Makes a Date Selection
14.3 Creating a Jump Menu
14.4 Preselecting Date Control Values
14.5 Preselecting Menu Control Values
14.6 Validating Form Data
15. Customizing UI Components
15.1 Applying Individual Component Styles
15.2 Applying Styles to Component Groups
15.3 Applying Styles to Component Types
15.4 Applying Styles Globally
15.5 Working with Color Styles
15.6 Working with Font and Text Styles
15.7 Working with Border and Background Styles
15.8 Working with Button and Scrollbar Styles
15.9 Working with List Styles
15.10 Working with Combo Box Styles
15.11 Working with Radio Button, Checkbox, and Arrow Styles
15.12 Using Different Artwork Themes
16. Loading Images and Flash Content
16.1 Loading External SWF/Image Content
16.2 Loading External SWF/JPEG Content into a Draggable Window
16.3 Loading External SWF/JPEG Content into a Scroll Pane
16.4 Determining Load Progress
16.5 Hiding a Progress Bar When Content Has Loaded
16.6 Optimizing Download Time by Sharing Content Among Movies
17. Working with Sound
17.1 Importing Sounds
17.2
Has Been Modified)
17.3 Adding a Sound to a Timeline for Playback
17.4 Synchronizing Sounds to Animation
17.5 Playing a Sound with a Button
17.6 Applying Effects to Sounds
17.7 Changing the In and Out Points of a Sound
17.8 Looping Sounds
17.9
Quality and File Size)
17.10 Starting and Stopping Sounds with Buttons
17.11 Stopping All Sounds
17.12 Manually Synchronizing Sounds and Visuals
18. Working with Video
18.1 Encoding Video
18.2 Deploying Video
18.3 Playing Flash Video
18.4 Customizing the FLVPlayback Component
18.5 Adding Cue Points/Captions
18.6 Detecting Bandwidth
18.7 Optimizing Video Playback
19. Using Data
19.1 Loading Variables
19.2 Sending Variables
19.3 Loading Text
19.4 Loading XML Data with Components
19.5 Calling Web Service Methods with Components
19.6 Calling Flash Remoting Methods with Components
19.7 Displaying Data with Components
19.8 Formatting Data with Data Binding
19.9 Sending Data Using Data Binding
20. Building Preloaders
20.1 Determining How a Movie Will Download
20.2 Building a Simple Preloader
20.3 Building a Preloader that Displays Load Percentage
20.4 Using a Progress Bar to Create a Graphical Preloader
20.5 Creating Preloaders for Files with Exported Symbols
20.6 Creating Preloaders for Files with Components
21. Publishing Flash
21.1 Publishing Flash to the Browser
21.2 Making Flash Content that Works with DHTML Menus
21.3 Detecting Flash Player Version
21.4 Passing Parameters to Flash from HTML
21.5 Communicating Between Flash and JavaScript
21.6 Integrating Flash with the Browser Back Button
21.7 Publishing Projectors
21.8 Making Fullscreen Flash Projectors
21.9 Printing Flash Content
21.10 Hiding the Context Menus
22. Deploying Flash on Mobile Devices
22.1 Creating a Flash Lite Movie
22.2 Using the Mobile Emulator
22.3 Finding Supported Devices
22.4 Playing a Flash Lite Movie on a Device
22.5 User Navigation for Flash Lite
22.6 Overriding the Default Active Button State
22.7 Applying Custom Labels to the Soft Keys
22.8 Responding to the Soft Keys
22.9 Accessing External Data
22.10 ActionScript for Flash Lite
22.11 Using Sound in Flash Lite
22.12 The Flash Lite Development Community
23. Making Movies Accessible
23.1 Detecting and Redirecting Users with Assistive Devices
23.2 Making Content Accessible
23.3 Making Animated, Interactive, and Visually ComplexMovies Accessible
23.4 Creating Accessible Buttons
23.5 Making Keyboard-Navigable Movies
23.6 Providing Captions
Index
商品描述(中文翻譯)
這本實用的工具書將理論付諸實踐,提供現成的答案來解決常見的 Flash 開發問題。它是 Flash 開發者以及準備開始進行開發工作的設計師的完美資源。使用 O'Reilly 受歡迎的問題/解決方案/討論食譜格式,本書提供 280 個獨立的食譜,包含簡要的解釋,說明解決方案如何以及為什麼有效,讓您能夠將其調整應用於未來可能遇到的類似情況。
《Flash 8 食譜》提供四個主要類別的快速查詢(和交叉參考)食譜:
- 創建 Flash 內容
- 建立互動式 Flash 介面
- 添加多媒體和數據
- 計劃 Flash 專案
使用 O'Reilly 受歡迎的問題/解決方案/討論食譜格式,本書提供 280 個獨立的食譜,包含簡要的解釋,說明解決方案如何以及為什麼有效,讓您能夠將其調整應用於未來可能遇到的類似情況。對於那些說「我在理論上什麼都懂,但不知道從哪裡開始實踐」的人,本書提供了現成的解決方案來應對現實世界中的問題。
Joey Lott 是《ActionScript 食譜》(O'Reilly)的作者,也是《Flash MX 2004 ActionScript 聖經》(Wiley)的合著者。他是 Flash 開發社群中的知名演講者和顧問。
目錄
前言
1. 在 Flash 中繪圖
- 1.1 繪製直線
- 1.2 繪製曲線
- 1.3 修改曲線
- 1.4 選擇線條
- 1.5 應用線條樣式
- 1.6 控制線條縮放
- 1.7 自訂線條端點
- 1.8 自訂線段之間的接合樣式
- 1.9 使用筆劃創建效果
- 1.10 繪製基本形狀
- 1.11 繪製正多邊形
- 1.12 繪製星形
- 1.13 繪製其他各種形狀
- 1.14 從簡單形狀構建複雜形狀
- 1.15 繪製複雜的線條和形狀
- 1.16 重新定位路徑上的點
- 1.17 自由手繪
- 1.18 平滑和拉直線條
- 1.19 塗色形狀
- 1.20 使用壓力感應圖形平板進行漸變塗色
- 1.21 選擇形狀並更改其屬性
- 1.22 將筆劃應用於填充
- 1.23 將填充應用於封閉路徑
- 1.24 填充有間隙的路徑
- 1.25 混合自訂顏色
- 1.26 儲存和重用自訂顏色
- 1.27 應用預設和自訂漸變
- 1.28 在多個元素上應用填充
- 1.29 拉伸、旋轉和重新定位填充
- 1.30 縮放元素
- 1.31 扭曲和重塑元素
- 1.32 旋轉元素
- 1.33 創建鏡像
- 1.34 精確定位元素
- 1.35 擦除內容
2. 匯入和匯出藝術作品
- 2.1 從 Fireworks 匯入資產
- 2.2 從 Freehand MX 匯入內容
- 2.3 從 Freehand MX 匯入模擬 3D 形狀
- 2.4 匯入 Acrobat PDF 內容
- 2.5 匯入 Illustrator AI 和 EPS 內容
- 2.6 匯出單幀圖像
- 2.7 匯出動畫 GIF 檔案
- 2.8 匯出圖像地圖(帶可點擊區域的 HTML 圖像)
3. 結構化影片和佈局內容
- 3.1 設定背景顏色
- 3.2 設定舞台尺寸
- 3.3 設定幀率
- 3.4 應用新的預設文件設定
- 3.5 創建文件範本
- 3.6 延長影片的持續時間
- 3.7 更改舞台上的內容
- 3.8 使用圖層管理內容
- 3.9 隱藏、鎖定和自訂圖層內容的顯示
- 3.10 自訂圖層和幀的顯示
- 3.11 使用指導圖層
- 3.12 使用圖層文件夾管理複雜內容
- 3.13 按比例佈局頁面元素
- 3.14 對齊、分佈、調整大小和間距元素
- 3.15 使用鍵盤微調元素
- 3.16 群組元素
- 3.17 重用元素:創建符號
4. 創建動畫
- 4.1 動畫位置或外觀的變化
- 4.2 沿曲線路徑動畫
- 4.3 應用加速和減速效果
- 4.4 應用進階補間效果
- 4.5 動畫旋轉
- 4.6 循環動畫
- 4.7 預覽播放
- 4.8 同時查看多個幀
- 4.9 同時編輯多個幀
- 4.10 使用形狀補間變形圖形
- 4.11 控制變形
- 4.12 創建嵌套動畫
- 4.13 複製動畫
- 4.14 使用 ActionScript 在運行時更改影片剪輯的位置
- 4.15 使用 ActionScript 動畫運行時位置變化
5. 在 Flash 中模擬 3D
- 5.1 整合 3D 與 Flash 專案的解決方案
- 5.2 創建 3D 物件
- 5.3 為 Flash 添加簡單的 3D 動畫
- 5.4 動畫 3D 形狀變形
- 5.5 基於向量的 3D 圖形
- 5.6 實際的光柵基 3D 圖形
- 5.7 創建 3D 按鈕
- 5.8 在 Flash 中使用非 Swift 3D 創建的 3D 模型
- 5.9 從多個角度創建 3D 產品視圖
- 5.10 將 Swift 3D 動畫渲染為 Flash 視頻
- 5.11 在不離開 Flash 的情況下添加 3D 圖形
6. 使用位圖和遮罩合成圖像
- 6.1 匯入位圖
- 6.2 編輯位圖
- 6.3 將位圖適配到形狀內
- 6.4 將位圖轉換為向量藝術
- 6.5 動畫位圖
- 6.6 優化位圖以便匯出
- 6.7 使用透明度的位圖
- 6.8 遮罩頁面元素
- 6.9 動畫遮罩
7. 文本基礎操作
- 7.1 向舞台添加靜態文本
- 7.2 更改文本外觀
- 7.3 使文本沿曲線排列
- 7.4 為文本添加陰影
- 7.5 更改靜態文本框的寬度(不拉伸文本)
- 7.6 調整文本框大小(拉伸文本)
- 7.7 設定邊距、縮排和行距
- 7.8 設定字元間距
- 7.9 優化靜態文本以減少檔案大小
- 7.10 上標和下標字元
- 7.11 使文本不可選擇