Foundation.Actionscript.3.0.Animation.Apr.2007.pdf
(
3443 KB
)
Pobierz
99119611 UNPDF
Foundation
ActionScript 3.0 Animation
Making Things Move!
Keith peters
ForewordbyAralBalkan
Find all the formulas and techniques you’ll need to create
dynamic scripted animation, including real-world physics
Covers ActionScript 3.0 object-oriented techniques
Supports the Flash IDE, Flex Builder 2, and the free Flex 2 SDK
Foundation
ActionScript 3.0 Animation
Making Things Move!
Keith Peters
Foundation ActionScript 3.0 Animation:
Making Things Move!
Copyright © 2007 by Keith Peters
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-791-0
ISBN-10 (pbk): 1-59059-791-5
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 orders-ny@springer-sbm.com, or visit www.springeronline.com.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA 94710.
Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, 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
Chris Mills
Assistant Production Director
Kari Brooks-Copony
Technical Reviewer
Todd Yard
Compositor
Dina Quan
Editorial Board
Steve Anglin, Ewan Buckingham,
Gary Cornell, Jason Gilmore,
Jonathan Gennick, Jonathan Hassell,
James Huddleston, Chris Mills,
Matthew Moodie, Jeff Pepper,
Paul Sarknas, Dominic Shakeshaft,
Jim Sumser, Matt Wade
Artist
April Milne
Proofreader
April Eddy
Indexer
John Collin
Project Manager | Production Editor
Laura Esterman
Cover Image Designer
Corné van Dooren
Copy Edit Manager
Nicole Flores
Interior and Cover Designer
Kurt Krames
Copy Editors
Nicole Flores, Ami Knox
Manufacturing Director
Tom Debolski
To Kazumi and Kristine, who again put up with me doing this
whole writing-a-book thing. Just a few dozen more, at most.
CONTENTS AT A GLANCE
Foreword
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xv
iii
About the Author
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxi
About the Technical Reviewer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxii
About the Cover Image Designer
. . . . . . . . . . . . . . . . . . . . . . . . . . .
xxi
ii
Acknowledgments
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxiv
Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxv
PART ONE
ACTIONSCRIPTED ANIMATION BASICS
. . . . . . . . . .
1
Chapter 1
Basic Animation Concepts
. . . . . . . . . . . . . . . . . . . . . . . . . .
3
Chapter 2
Basics of ActionScript 3.0 for Animation
. . . . . . . . . . . . . . .
13
Chapter 3
Trigonometry for Animation
. . . . . . . . . . . . . . . . . . . . . . .
51
Chapter 4
Rendering Techniques
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
83
PART TWO
BASIC MOTION
. . . . . . . . . . . . . . . . . . . . . . . . . . .
119
Chapter 5
Velocity and Acceleration
. . . . . . . . . . . . . . . . . . . . . . . .
121
Chapter 6
Boundaries and Friction
. . . . . . . . . . . . . . . . . . . . . . . . . .
147
Chapter 7
User Interaction: Moving Objects Around
. . . . . . . . . . . . .
173
iv
Plik z chomika:
musli_com
Inne pliki z tego folderu:
Actionscript 3.0 Animation Making Things Move!(1).zip
(2872 KB)
ActionScript 3.0 Cookbook(1).pdf
(2395 KB)
ActionScript 3.0 Game Programming University(1).zip
(6417 KB)
ActionScript.3.0.Design.Patterns.Jul.2007(1).pdf
(4057 KB)
Advanced ActionScript 3 With Design Patterns(1).pdf
(1374 KB)
Inne foldery tego chomika:
3D Design - Programming
Actionscript - Flash - Flex - Air
Ada
ADO
Ajax
Zgłoś jeśli
naruszono regulamin