Foundation Flash CS3 for Designers F You Are a Flash Designer Looking for a Solid Foundation in Flash CS3, This Book Is Ifor You
Total Page:16
File Type:pdf, Size:1020Kb
Green Stiller Foundation FOUNDATION FLA Flash CS3 for Designers Inside this book you’ll learn Also Available How to create effective animations Best-practice tips and techniques from content management to video Tom Green and audio creation from some of the top Flashers on the planet. S How to use the new Flash CS3 UI components to build Flash interfaces and David Stiller How to create captioned and full-screen Flash video Foreword by Branden Hall Techniques for creating mobile content using the new Device Central CS3 H Foundation Flash CS3 for Designers f you are a Flash designer looking for a solid foundation in Flash CS3, this book is Ifor you. Through the use of the solid, practical, fun exercises contained within, you will soon master the fundamentals of Flash CS3. Using a series of carefully developed tutorials, you will be led from the basic techniques used in Flash to the point where you will be creating amazing Flash movies in no time at all. Each chapter imparts essential knowledge and then invites you to take the reins because it will be “your turn” to create something amazing with what you have learned. This book focuses on the core skill set you need to master Flash CS3 and also introduces you to some of the biggest names in the Flash community (such as Kristin Henry from GalaxyGoo.org and John Kricfalusi of “Ren & Stimpy Show” fame) through D interviews and contributions in order for you to learn from the masters. You will start F by learning your way around the Flash interface, getting to grips with basics such as O layers, drawing tools, text, graphics, and movieclips, and assembling a basic movie. ESIG R By the time you have finished, you will have created an MP3 player, built a Flash video movie that includes captions fed into it from XML and the ability to go full screen, mastered the fundamentals of ActionScript 3.0, styled Flash using CSS, put a slide show on a cell phone, created awe-inspiring animations, and worked through a host of other projects. All are designed to give you the knowledge necessary to master N Flash CS3 from the ground up. And, if you are already a seasoned Flash user, this book will get up to speed with Flash CS3 in no time at all. ERS The book covers essential new Flash CS3 features such as importing graphics from Photoshop, Illustrator, and Fireworks CS3; improved UI components; captioned video; ActionScript 3.0, and much more. Let’s get busy! ISBN-13: 978-1-59059-861-0 SHELVING CATEGORY ISBN-10: 1-59059-861-X 1. FLASH 5 3 9 9 9 All you need to succeed with Flash Professional CS3! US $39.99 Covers all the fundamentals and all the new features, Mac/PC compatible including the basics of ActionScript 3.0 www.friendsofed.com Don’t become a good Flash designer—become a great one! 9 781590 598610 this print for reference only—size & color not accurate spine = 1.132" 600 page count 861XFM.qxp 6/25/07 1:34 PM Page i Foundation Flash CS3 for Designers Tom Green and David Stiller 861XFM.qxp 6/25/07 1:34 PM Page ii Foundation Flash CS3 for Designers Copyright © 2007 by Tom Green and David Stiller All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-59059-861-0 ISBN-10 (pbk): 1-59059-861-X Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail [email protected], or visit www.springeronline.com. For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail [email protected], or visit www.apress.com. The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is freely available to readers at www.friendsofed.com in the Downloads section. Credits Lead Editor Production Editor Chris Mills Ellie Fountain Technical Reviewer Compositor Adam Thomas Lynn L'Heureux Editorial Board Artist Steve Anglin, Ewan Buckingham, Gary Cornell, Milne Design Services, LLC Jonathan Gennick, Jason Gilmore, Jonathan Hassell, Chris Mills, Matthew Moodie, Jeffrey Pepper, Proofreader Ben Renow-Clarke, Dominic Shakeshaft, Nancy Sixsmith Matt Wade, Tom Welsh Indexer Project Manager Carol Burbo Tracy Brown Collins Cover Image Designer Copy Edit Manager Corné van Dooren Nicole Flores Interior and Cover Designer Copy Editors Kurt Krames Damon Larson and Ami Knox Manufacturing Director Assistant Production Director Tom Debolski Kari Brooks-Copony 861XFM.qxp 6/25/07 1:34 PM Page iii To Robert Green, my “Number One” son and camping buddy. —Tom Green To the memory of Travis Swinton, educator, musician, artist, and best Chewbacca impersonator in the galaxy. I’m deeply grateful we had the chance to catch up. —David Stiller 861XFM.qxp 6/25/07 1:34 PM Page iv 861XFM.qxp 6/25/07 1:34 PM Page v CONTENTS AT A GLANCE Chapter 1: Learning the Flash CS3 Professional Interface . 3 Chapter 2: Graphics in Flash CS3 . 49 Chapter 3: Symbols and Libraries . 111 Chapter 4: ActionScript Basics . 157 Chapter 5: Audio in Flash CS3 . 205 Chapter 6 Text in Flash CS3 . 239 Chapter 7: Animation in Flash CS3 . 283 Chapter 8 Video in Flash . 339 Chapter 9: Using the Flash UI Components to Build Interfaces . 389 Chapter 10: CSS and Flash . 425 Chapter 11: Dynamic Data (XML) and Flash . 451 Chapter 12: Going Mobile in Flash . 473 Chapter 13: Optimizing Flash Movies . 505 Chapter 14: Publishing Flash Movies . 535 Index . 556 v 861XFM.qxp 6/25/07 1:34 PM Page vi 861XFM.qxp 6/25/07 1:34 PM Page vii CONTENTS Chapter 1: Learning the Flash CS3 Professional Interface . 3 The Start page and creating a Flash document . 4 Managing your workspace . 7 Setting document preferences and properties . 9 The Property inspector . 12 Zooming the stage . 13 Exploring the panels in the Flash interface . 15 The timeline . 15 Frames . 16 Using the Property inspector . 18 The Tools panel . 20 The library . 21 Where to get help . 22 Using layers . 24 Your turn: Building a Flash movie . 29 Adding the mountains and playing with color . 32 Using trees to create the illusion of depth . 33 Using a motion tween to create a twinkling star . 36 A moon over Lake Nanagook . 37 Breaking the stillness of the night at Lake Nanagook . 41 Testing your movie . 43 Your turn: Moonrise over Lake Nanagook . 44 What you’ve learned . 46 Chapter 2: Graphics in Flash CS3 . 49 The Tools panel . 52 The Selection and Subselection tools . 53 The Free Transform tool . 55 The Gradient Transform tool . 56 Object Drawing mode . 58 Your turn: Moon rise at Lake Nanagook . 60 861XFM.qxp 6/25/07 1:34 PM Page viii CONTENTS Drawing in Flash CS3 . 63 The Pencil tool . 63 The Brush tool . 65 The Eraser tool . 66 The Pen tool . 67 Your turn: Trees grow at Lake Nanagook . 69 Working with Color in Flash . 72 Creating persistent custom colors . 76 Your turn: Playing with color . 78 Using bitmap images in Flash . 82 Working with bitmaps inside Flash . 83 Your turn: Tracing bitmaps in Flash . 85 JPG files and Flash . 88 Using GIF files in Flash CS3 . 91 Importing Fireworks CS3 documents into Flash CS3 . 93 Importing Illustrator CS3 documents into Flash CS3 . 96 Importing Photoshop CS3 documents into Flash CS3 . 100 Notes from the Photoshop File Importer front . 104 Creating a banner ad . 107 What you’ve learned . 109 Chapter 3: Symbols and Libraries . 111 Symbol essentials . 113 Symbol types . 115 Editing symbols . 117 Symbols and 9-slice scaling . 118 The 9-slice “gotchas” . 122 Sharing symbols . ..