logo资料库

Adobe Flash Professional CS6 Classroom in a Book.pdf

第1页 / 共418页
第2页 / 共418页
第3页 / 共418页
第4页 / 共418页
第5页 / 共418页
第6页 / 共418页
第7页 / 共418页
第8页 / 共418页
资料共418页,剩余部分请下载后查看
CONTENTS
GETTING STARTED
About Classroom in a Book
What’s New
Prerequisites
Installing Flash
Copying the Lesson Files
How to Use the Lessons
Additional Resources
Adobe Certification
1 GETTING ACQUAINTED
Starting Flash and Opening a File
Getting to Know the Workspace
Working with the Library Panel
Understanding the Timeline
Organizing Layers in a Timeline
Using the Properties Inspector
Using the Tools Panel
Undoing Steps in Flash
Previewing Your Movie
Modifying the Content and Stage
Saving Your Movie
Publishing Your Movie
Finding Resources for Using Flash
Checking for Updates
2 WORKING WITH GRAPHICS
Getting Started
Understanding Strokes and Fills
Creating Shapes
Making Selections
Editing Shapes
Using Gradient and Bitmap Fills
Making Patterns and Decorations
Creating Curves
Creating Transparencies
Creating and Editing Text
3 CREATING AND EDITING SYMBOLS
Getting Started
Importing Illustrator Files
About Symbols
Creating Symbols
Importing Photoshop Files
Editing and Managing Symbols
Changing the Size and Position of Instances
Changing the Color Effect of Instances
Understanding Display Options
Applying Filters for Special Effects
Positioning in 3D Space
4 ADDING ANIMATION
Getting Started
About Animation
Understanding the Project File
Animating Position
Changing the Pacing and Timing
Animating Transparency
Animating Filters
Animating Transformations
Changing the Path of the Motion
Swapping Tween Targets
Creating Nested Animations
Using the Motion Editor
Easing
Animating 3D Motion
Testing Your Movie
5 ARTICULATED MOTION AND MORPHING
Getting Started
Articulated Motion with Inverse Kinematics
Constraining Joints
Inverse Kinematics with Shapes
Armature Options
Morphing with Shape Tweens
Using Shape Hints
Simulating Physics with Inverse Kinematics
6 CREATING INTERACTIVE NAVIGATION
Getting Started
About Interactive Movies
Creating Buttons
Understanding ActionScript 3.0
Preparing the Timeline
Adding a Stop Action
Creating Event Handlers for Buttons
Creating Destination Keyframes
Creating a Home Button with Code Snippets
Code Snippets Options
Playing Animation at the Destination
Animated Buttons
7 USING TEXT
Getting Started
Understanding TLF Text
Adding Simple Text
Adding Multiple Columns
Wrapping Text
Hyperlinking Text
Creating User-input Text
Loading External Text
8 WORKING WITH SOUND AND VIDEO
Getting Started
Understanding the Project File
Using Sounds
Understanding Flash Video
Using Adobe Media Encoder
Understanding Encoding Options
Playback of External Video
Working with Video and Transparency
Using Cue Points
Embedding Flash Video
9 LOADING AND CONTROLLING FLASH CONTENT
Getting Started
Loading External Content
Removing External Content
Controlling Movie Clips
Creating Masks
10 PUBLISHING FLASH DOCUMENTS
Getting Started
Testing a Flash Document
Understanding Publishing
Publishing for the Web
Understanding the Bandwidth Profiler
Adding Metadata
Publishing a Desktop Application
Publishing for a Mobile Device
Keeping Organized with Projects
Next Steps
INDEX
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
LESSON AND MEDIA FILES
Adobe® Flash® Professional CS6 classroom in a book® The official training workbook from Adobe Systems
Adobe® Flash® Professional CS6 Classroom in a Book® © 2012 Adobe Systems Incorporated and its licensors. All rights reserved. If this guide is distributed with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement. The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unauthorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner. Any references to company names in sample files are for demonstration purposes only and are not intended to refer to any actual organization. Adobe, the Adobe logo, Classroom in a Book, Flash, the Flash logo, Flash Builder, Flash Catalyst, Flash Lite, Flash Player, InDesign, and Photoshop are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apple, Mac OS, Macintosh, and Safari are trademarks of Apple, registered in the U.S. and other countries. Microsoft, Windows, and Internet Explorer are either registered trademarks or trademarks of Microsoft Corporation in the U.S. and/or other countries. All other trademarks are the property of their respective owners. Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110-2704, USA Notice to U.S. Government End Users. The Software and Documentation are “Commercial Items,” as that term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §§227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursu- ant to the terms and conditions herein. Unpublished-rights reserved under the copyright laws of the United States. Adobe Systems Incorporated, 345 Park Avenue, San Jose, CA 95110-2704, USA. For U.S. Government End Users, Adobe agrees to comply with all applicable equal opportunity laws including, if appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam Era Veterans Readjustment Assistance Act of 1974 (38 USC 4212), and Section 503 of the Rehabilitation Act of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60, 60-250, and 60-741. The affirmative action clause and regulations contained in the preceding sentence shall be incorporated by reference. Adobe Press books are published by Peachpit, a division of Pearson Education located in Berkeley, California. For the latest on Adobe Press books, go to www.adobepress.com. To report errors, please send a note to errata@ peachpit.com. For information on getting permission for reprints and excerpts, contact permissions@peachpit.com. Acquisitions Editor: Rebecca Gulick Writer: Russell Chun Development and Copy Editor: Stephen Nathans-Kelly Production Coordinator and Compositor: Danielle Foster Technical Reviewer: Keith Gladstien Keystroker: H. Paul Robertson Proofreader: Liz Welch Indexer: Valerie Haynes Perry Cover Designer: Eddie Yuen Interior Designer: Mimi Heft Printed and bound in the United States of America ISBN-13: 978-0-321-82251-2 ISBN-10: 0-321-82251-X 9 8 7 6 5 4 3 2 1
EBOOK READERS: FIND YOUR LESSON FILES Throughout this title you will see references to lesson or resource files on a disc. Please note that these files are available to eBook readers via high-speed download. Please click here to go to the last page in this eBook for the download location and instructions. Adobe Flash Professional CS6 Classroom in a Book includes the lesson files that you’ll need to complete the exercises in this book, as well as other content to help you learn more about Adobe Flash Professional CS6 and use it with greater efficiency and ease. The diagram below represents the contents of the lesson files directory, which should help you locate the files you need. Mic os o f C o r p o atio n in the US and/or other countries ntries Windows is eiher a regitered trademark or a trademark of u er co d oth n a S Adobe® Flash® Professional CS6 CLASSROOM IN A BOOK® WINDOWS®/MAC OS® AVAILABLE VIA DOWNLOAD U e h t n d e e t s i g e e l p p A o k a m e d a r a s © 2012 Adobe Systems Incorporated A l rights reserved Made in the USA ISBN 13 978 0 321 82251 2 ISBN 10 0 321 82251 X 05/ 2 a r o p r o c n s I m te s y e S b o d o C las ro o m in a Book and Flash are trademarks of A g e l o b o d e A h t A d o b e Lesson files Each lesson has its own folder inside the Lessons folder. You will need to download these lesson folders to your hard drive before you can begin each lesson. Online resources Links to Adobe Community Help, product Help and Support pages, Adobe Press, Adobe certification programs, Adobe TV, and other useful online resources can be found inside a handy HTML file. Just open it in your Web browser and click on the links, including a special link to this book’s product page where you can access updates and bonus material. Learn by Video bonus tutorials A bonus 2-hour set of Adobe Flash Professional CS6: Learn by Video tutorials are included, from video2brain and Adobe Press. Learn by Video is one of the most critically acclaimed training products on Adobe software and is the only Adobe- approved video courseware for the Adobe Certified Associate Level certification.
COntents GettInG starteD 1 About Classroom in a Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 What’s New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Installing Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Copying the Lesson Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 How to Use the Lessons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Adobe Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1 GettInG aCquaInteD 8 Starting Flash and Opening a File . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Getting to Know the Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Working with the Library Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Understanding the Timeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Organizing Layers in a Timeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Using the Properties Inspector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Using the Tools Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Undoing Steps in Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Previewing Your Movie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Modifying the Content and Stage . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Saving Your Movie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Publishing Your Movie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Finding Resources for Using Flash . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Checking for Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 iv Contents
2 WOrkInG WIth GraphICs 48 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Understanding Strokes and Fills . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Creating Shapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Making Selections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Editing Shapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Using Gradient and Bitmap Fills . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Making Patterns and Decorations . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Creating Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Creating Transparencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Creating and Editing Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 3 CreatInG anD eDItInG symBOLs 78 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Importing Illustrator Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 About Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Creating Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Importing Photoshop Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Editing and Managing Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Changing the Size and Position of Instances . . . . . . . . . . . . . . . . 95 Changing the Color Effect of Instances. . . . . . . . . . . . . . . . . . . . . . 98 Understanding Display Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Applying Filters for Special Effects . . . . . . . . . . . . . . . . . . . . . . . . . 103 Positioning in 3D Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 4 aDDInG anImatIOn 110 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 About Animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Understanding the Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Animating Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Changing the Pacing and Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Animating Transparency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Animating Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Animating Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Adobe FlAsh ProFessionAl Cs6 ClAssroom in A book v
Changing the Path of the Motion . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Swapping Tween Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Creating Nested Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Using the Motion Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Easing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Animating 3D Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Testing Your Movie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 5 art ICuLateD mOtIOn anD mOrphInG 158 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Articulated Motion with Inverse Kinematics . . . . . . . . . . . . . . . . 161 Constraining Joints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Inverse Kinematics with Shapes . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Armature Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Morphing with Shape Tweens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Using Shape Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Simulating Physics with Inverse Kinematics . . . . . . . . . . . . . . . . 196 6 CreatInG Intera CtIVe naVIGatIOn 204 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 About Interactive Movies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 Creating Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Understanding ActionScript 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Preparing the Timeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Adding a Stop Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Creating Event Handlers for Buttons . . . . . . . . . . . . . . . . . . . . . . . 222 Creating Destination Keyframes . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Creating a Home Button with Code Snippets . . . . . . . . . . . . . . 230 Code Snippets Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Playing Animation at the Destination . . . . . . . . . . . . . . . . . . . . . . 237 Animated Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 7 usInG text 246 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Understanding TLF Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 Adding Simple Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 Adding Multiple Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 vi Contents
Wrapping Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264 Hyperlinking Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .273 Creating User-input Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .275 Loading External Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282 8 Working With Sound and Video 290 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .292 Understanding the Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . .293 Using Sounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .294 Understanding Flash Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .306 Using Adobe Media Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307 Understanding Encoding Options . . . . . . . . . . . . . . . . . . . . . . . . .310 Playback of External Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .318 Working with Video and Transparency . . . . . . . . . . . . . . . . . . . . .322 Using Cue Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326 Embedding Flash Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .335 9 Loading and Contro LLing FLaSh Content 342 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .344 Loading External Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .346 Removing External Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .354 Controlling Movie Clips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355 Creating Masks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356 10 PubLiShing FLaSh doCumentS 364 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .366 Testing a Flash Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .367 Understanding Publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .369 Publishing for the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .369 Understanding the Bandwidth Profiler . . . . . . . . . . . . . . . . . . . . .376 Adding Metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .378 Publishing a Desktop Application . . . . . . . . . . . . . . . . . . . . . . . . .380 Publishing for a Mobile Device . . . . . . . . . . . . . . . . . . . . . . . . . . . .387 Keeping Organized with Projects . . . . . . . . . . . . . . . . . . . . . . . . . .391 Next Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .394 index LeSSon and media FiLeS 396 409 Adobe FlAsh ProFessionAl Cs6 ClAssroom in A book vii
分享到:
收藏