Free Essay

Flash Bouncing Ball Tutorial

In:

Submitted By flanagan
Words 533
Pages 3
Digital Media
Flanagan
Flash CS5
BOUNCING BALL TUTORIAL
Summary: Draw a circle add a gradient for a 3D effect, convert the “ball” into a symbol then add frames & key frames with a classic tween to animate the ball.

O
F8
Q

SHORT CUT KEYS:
OVAL
F
TRANSFORM GRADIENT
CONVERT TO SYMBOL
F6 NEW KEY FRAME
TRANSFORM

1. First Create a New File go to File / New/ Action Script 3
2. Use short cut key O to create the ball and hold down the SHIFT KEY when you draw the ball
3. Open the COLOR PANEL and use BLACK SELECTION TOOL to select the ball, and then in the DROP DOWN MENU select Radial Gradient. At the bottom of the Color Panel you will see rectangles with sliders, a black slider and a white slider . Swap the rectangles by clicking on them and dragging. The white square is now on the left and the black is on the right. Then double click on the black square and choose the color you would like for your ball.
4.Hit the short cut key F to transform your gradient, click on the ball and grab the gradient from the middle and move it towards the upper right of the ball to create a 3D effect.
5. Now you will convert your ball to a symbol by hitting F8 and name it Ball
Now go to your timeline and double click on the layer and name the layer Ball.
Next go to frame 35 and create a KEY FRAME F6

While holding the CONTROL or SHIFT KEY (one of the two keys will duplicate your symbol and the other will allow you to move it, it varies, if you create a duplicate by mistake just delete it) click on your ball symbol and position it to the top of the stage next go to FRAME1 and position the ball symbol in the same location at the top of the screen.
Next go to FRAME 15 and insert key frame F6. Position the ball symbol at the bottom of the stage while holding down the Control Key.
6. Next we are going to create a CLASSIC TWEEN. Click in-between frames 1 and 15 right click on the mouse and insert a CLASSIC TWEEN. Now in the
Properties panel look for the word ease: 0 hover you mouse on the zero and slide to the left all the way to -100 in.
Repeat the steps above except click in-between frames 15 and 35 and insert a
CLASSIC TWEEN and ease to the right to 100 out.
9. Now we will add two more key-frames on the Ball layer to create a squishing effect. Click on FRAME 19 and add a key frame F6 hold down the Control Key and drag the ball symbol to the bottom of the screen. Press the letter Q then squish the ball down and wide. Now click on FRAME 22 and position the ball symbol at the bottom of the screen press the letter Q and squish the ball tall and skinny.
To preview your movie select FILE/PUBLISH PREVIEW/FLASH
To export your movie select FILE/EXPORT/EXPORT MOVIE

Similar Documents

Free Essay

Flash Tutorial

...Flash Tutorials Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Encoder, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. Third-Party Information This guide contains links to third-party websites that are not under the control of Macromedia, and Macromedia is not responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia endorses or accepts any responsibility for the content on those third-party sites. Speech compression and decompression technology licensed from Nellymoser...

Words: 58741 - Pages: 235

Free Essay

Arduino

...Arduino Cookbook Arduino Cookbook Michael Margolis Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo Arduino Cookbook by Michael Margolis Copyright © 2011 Michael Margolis and Nicholas Weldin. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@oreilly.com. Editors: Simon St. Laurent and Brian Jepson Production Editor: Teresa Elsey Copyeditor: Audrey Doyle Proofreader: Teresa Elsey Indexer: Lucie Haskins Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrator: Robert Romano Printing History: March 2011: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Arduino Cookbook, the image of a toy rabbit, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution...

Words: 90321 - Pages: 362

Free Essay

Physics

...*Physics Prelims (1-7).qxd 12/11/08 1:00 PM Page 1 SCIENCE VISUAL RESOURCES PHYSICS An Illustrated Guide to Science The Diagram Group *Physics Prelims (1-7).qxd 12/11/08 1:00 PM Page 2 Physics: An Illustrated Guide to Science Copyright © 2006 The Diagram Group Author: Derek McMonagle BSc PhD CSci CChem FRSC Editors: Catherine Gaunt, Jamie Stokes Design: Anthony Atherton, Richard Hummerstone, Lee Lawrence, Tim Noel-Johnson, Phil Richardson Illustration: Peter Wilkinson Picture research: Neil McKenna Indexer: Martin Hargreaves All rights reserved. No part of this book may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval systems, without permission in writing from the publisher. For information contact: Chelsea House An imprint of Infobase Publishing 132 West 31st Street New York NY 10001 For Library of Congress Cataloging-in-Publication Data, please contact the Publisher ISBN 0-8160-6167-X Chelsea House books are available at special discounts when purchased in bulk quantities for businesses, associations, institutions, or sales promotions. Please call our Special Sales Department in New York at 212/967-8800 or 800/322-8755. You can find Chelsea House on the World Wide Web at http://www.chelseahouse.com Printed in China CP Diagram 10 9 8 7 6 5 4 3 2 This book is printed on acid-free paper. *Physics Prelims (1-7).qxd 12/11/08 1:00 PM Page...

Words: 78462 - Pages: 314

Premium Essay

Cd Key

...Java Quick Reference Console Input Scanner input = new Scanner(System.in); int intValue = input.nextInt(); long longValue = input.nextLong(); double doubleValue = input.nextDouble(); float floatValue = input.nextFloat(); String string = input.next(); Console Output System.out.println(anyValue); JOptionPane.showMessageDialog(null, "Enter input"); GUI Input Dialog String string = JOptionPane.showInputDialog( "Enter input"); int intValue = Integer.parseInt(string); double doubleValue = Double.parseDouble(string); Message Dialog Primitive Data Types byte short int long float double char boolean 8 bits 16 bits 32 bits 64 bits 32 bits 64 bits 16 bits true/false Arithmetic Operators + * / % ++var --var var++ var-addition subtraction multiplication division remainder preincrement predecrement postincrement postdecrement Assignment Operators = += -= *= /= %= assignment addition assignment subtraction assignment multiplication assignment division assignment remainder assignment Relational Operators < >= == != less than less than or equal to greater than greater than or equal to equal to not equal Logical Operators && || ! ^ short circuit AND short circuit OR NOT exclusive OR if Statements if (condition) { statements; } if (condition) { statements; } else { statements; } if (condition1) { statements; } else if (condition2) { statements; } else { statements; } switch Statements switch (intExpression) { case value1: statements; break; ... case valuen: statements; break;...

Words: 73366 - Pages: 294

Premium Essay

Moneyball

...Moneyball: The Art of Winning an Unfair Game Michael Lewis For Billy Fitzgerald I can still hear him shouting at me Lately in a wreck of a Californian ship, one of the passengers fastened a belt about him with two hundred pounds of gold in it, with which he was found afterwards at the bottom. Now, as he was sinking-had he the gold? or the gold him? —John Ruskin, Unto This Last Preface I wrote this book because I fell in love with a story. The story concerned a small group of undervalued professional baseball players and executives, many of whom had been rejected as unfit for the big leagues, who had turned themselves into one of the most successful franchises in Major League Baseball. But the idea for the book came well before I had good reason to write it—before I had a story to fall in love with. It began, really, with an innocent question: how did one of the poorest teams in baseball, the Oakland Athletics, win so many games? For more than a decade the people who run professional baseball have argued that the game was ceasing to be an athletic competition and becoming a financial one. The gap between rich and poor in baseball was far greater than in any other professional sport, and widening rapidly. At the opening of the 2002 season, the richest team, the New York Yankees, had a payroll of $126 million while the two poorest teams, the Oakland A's and the Tampa Bay Devil Rays, had payrolls of less than a third of that, about $40 million. A decade before, the highest payroll...

Words: 101165 - Pages: 405

Premium Essay

Hiiiiiiiiiiiiii

...PHYSIC AL CONSTANTS CONSTANT Speed of light Elementary charge Electron mass Proton mass Gravitational constant Permeability constant Permittivity constant Boltzmann’s constant Universal gas constant Stefan–Boltzmann constant Planck’s constant Avogadro’s number Bohr radius SYMBOL c e me mp G m0 P0 k R s h 15 2p"2 NA a0 THREE-FIGURE VALUE 3.003108 m/s 1.60310219 C 9.11310231 kg 1.67310227 kg 6.67310211 N # m2/kg 2 1.2631026 N/A2 1H/m2 8.85310212 C 2/N # m2 1F/m2 1.38310223 J/K 8.31 J/K # mol 5.6731028 W/m2 # K4 6.63310234 J # s 6.0231023 mol21 5.29310211 m BEST KNOWN VALUE* 299 792 458 m/s (exact) 1.602 176 4871402 310219 C 9.109 382 151452 310231 kg 1.672 621 6371832 310227 kg 6.674 281672 310211 N # m2/kg 2 4p31027 (exact) 1/m0c2 (exact) 1.380 65041242 310223 J/K 8.314 4721152 J/K # mol 5.670 4001402 31028 W/m2 # K4 6.626 068 961332 310234 J # s 6.022 141 791302 31023 mol21 5.291 772 08591362 310211 m *Parentheses indicate uncertainties in last decimal places. Source: U.S. National Institute of Standards and Technology, 2007 values SI PREFIXES POWER 1024 1021 1018 1015 1012 109 106 103 102 101 100 1021 1022 1023 1026 1029 10212 10215 10218 10221 10224 THE GREEK ALPHABET PREFIX yotta zetta exa peta tera giga mega kilo hecto deca — deci centi milli micro nano pico femto atto zepto yocto SYMBOL Y Z E P T G M k h da — d c m μ n p f a z y Alpha ...

Words: 201181 - Pages: 805

Free Essay

Physics

...Introductory Physics I Elementary Mechanics by Robert G. Brown Duke University Physics Department Durham, NC 27708-0305 rgb@phy.duke.edu Copyright Notice Copyright Robert G. Brown 1993, 2007, 2013 Notice This physics textbook is designed to support my personal teaching activities at Duke University, in particular teaching its Physics 141/142, 151/152, or 161/162 series (Introductory Physics for life science majors, engineers, or potential physics majors, respectively). It is freely available in its entirety in a downloadable PDF form or to be read online at: http://www.phy.duke.edu/∼rgb/Class/intro physics 1.php It is also available in an inexpensive (really!) print version via Lulu press here: http://www.lulu.com/shop/product-21186588.html where readers/users can voluntarily help support or reward the author by purchasing either this paper copy or one of the even more inexpensive electronic copies. By making the book available in these various media at a cost ranging from free to cheap, I enable the text can be used by students all over the world where each student can pay (or not) according to their means. Nevertheless, I am hoping that students who truly find this work useful will purchase a copy through Lulu or a bookseller (when the latter option becomes available), if only to help subsidize me while I continue to write inexpensive textbooks in physics or other subjects. This textbook is organized for ease of presentation and ease of learning. In particular, they are...

Words: 224073 - Pages: 897

Premium Essay

Types of Friends

...T H E S I M P L E PAT H T O C O O K I N G L I K E A P R O , L E A R NING ANY THING, AND LIVING THE GOOD LIFE TIMOTHY FERRIS S Published by Houghton Mi in Harcourt Boston | New York 2012 Produced by 49316_CH00_FM_p001t015_092012_NB.indd 3 9/25/12 10:27 AM 49316_CH00_FM_p001t015_092012_NB.indd 4 9/25/12 10:27 AM PUBLISHER’S DISCLAIMER The material in this book is for informational purposes only. Since each individual situation is unique, you should use proper discretion, in consultation with a health-care practitioner, before undertaking the diet and exercise techniques described in this book. The author and publisher expressly disclaim responsibility for any adverse e ects that may result from the use or application of the information contained in this book. NOTICE ON FOOD HANDLING This book is about cooking; it’s not a food processing and handling manual. I strongly encourage you to read and follow the established safe food processing and handling guidelines available through the USDA, FDA, and Department of Health and Human Services, including: foodsafety.gov fsis.usda.gov fda.gov/food/foodsafety NOTICE ON INTERNET RESOURCES My full curriculum is within the covers of this book. For those of you who want to “go beyond” in your research, I have provided links to Internet resources. My team and I have worked to check that these links are accurate and point to resources available when this book was released for publication. But Internet resources...

Words: 21483 - Pages: 86

Free Essay

Title

...At liftoff, Matt Eversmann said a Hail Mary. He was curled into a seat between two helicopter crew chiefs, the knees of his long legs up to his shoulders. Before him, jammed on both sides of the Black Hawk helicopter, was his "chalk," twelve young men in flak vests over tan desert camouflage fatigues. He knew their faces so well they were like brothers. The older guys on this crew, like Eversmann, a staff sergeant with five years in at age twenty-six, had lived and trained together for years. Some had come up together through basic training, jump school, and Ranger school. They had traveled the world, to Korea, Thailand, Central America... they knew each other better than most brothers did. They'd been drunk together, gotten into fights, slept on forest floors, jumped out of airplanes, climbed mountains, shot down foaming rivers with their hearts in their throats, baked and frozen and starved together, passed countless bored hours, teased one another endlessly about girlfriends or lack of same, driven in the middle of the night from Fort Benning to retrieve each other from some diner or strip club on Victory Drive after getting drunk and falling asleep or pissing off some barkeep. Through all those things, they had been training for a moment like this. It was the first time the lanky sergeant had been put in charge, and he was nervous about it. Pray for us sinners, now, and at the hour of our death, Amen. It was midafternoon, October 3, 1993. Eversmann's Chalk Four...

Words: 138827 - Pages: 556

Free Essay

Alc Sfc Sharp

...___________ __ __ \_ _____/|__| ____ _____ | | | __) | |/ \\__ \ | | | \ | | | \/ __ \| |__ \___ / |__|___| (____ /____/ \/ \/ \/ ___________ __ \_ _____/____ _____/ |______ _________ __ | __) \__ \ / \ __\__ \ / ___< | | | \ / __ \| | \ | / __ \_\___ \ \___ | \___ / (____ /___| /__| (____ /____ >/ ____| \/ \/ \/ \/ \/ \/ ________________ |_ __ _ _ _| \ \/ / | | | | __\ /__| |_| |_ |________________| ____________________________________________________________________________ |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| | Author: A I e x ...

Words: 49785 - Pages: 200

Free Essay

Silverlight Tutorial

...www.it-ebooks.info For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. www.it-ebooks.info Contents at a Glance  About the Author.................................................................................................. xiv  About the Technical Reviewer .............................................................................. xv  Acknowledgments ............................................................................................... xvi  Introduction ........................................................................................................ xvii  Chapter 1: Welcome to Silverlight 5 .......................................................................1  Chapter 2: Introduction to Visual Studio 2010......................................................11  Chapter 3: Layout Management in Silverlight ......................................................29  Chapter 4: Silverlight Controls..............................................................................59  Chapter 5: Data Binding and Silverlight List Controls ..........................................89  Chapter 6: Silverlight Toolkit ..............................................................................129  Chapter 7: Data Access and Networking ............................................................157  Chapter 8: Navigation Framework .......

Words: 43350 - Pages: 174

Free Essay

Book

...THE PLAYER Good game design is player-centric. That means that above all else, the player and her desires are truly considered. Rather than demanding that she do something via the rules, the gameplay itself should inherently motivate the player in the direction the designer wants her to go. Telling players they must travel around the board or advance to the next level is one thing. If they don’t have a reason and a desire to do it, then it becomes torture. In creating a game, designers take a step back and think from the player’s viewpoint: What’s this game about? How do I play? How do I win? Why do I want to play? What things do I need to do? MEANINGFUL DECISIONS Distilled down to its essence, game design is about creating opportunities for players to make meaningful decisions that affect the outcome of the game. Consider a game like a boxing match. So many decisions lead up to the ultimate victory. How long will I train? Will I block or will I swing? What is my opponent going to do? Where is his weakness? Jab left or right? Even those few, brief questions don’t come close to the myriad decisions a fighter must make as he progresses through a match. Games invite players into similar mental spaces. Games like Tetris and Chess keep our minds busy by forcing us to consider which one of several possible moves we want to take next. In taking these paths, we know that we may be prolonging or completely screwing up our entire game. The Sims games and those in...

Words: 111961 - Pages: 448

Premium Essay

Html

...The Missing Link: An Introduction to Web Development and Programming The Missing Link An Introduction to Web Development and Programming Michael Mendez SUNY Fredonia i The Missing Link An Introduction to Web Development and Programming by Michael Mendez Open SUNY Textbooks 2014 ©2014 Michael Mendez ISBN: 978-0-9897226-5-0 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Published by Open SUNY Textbooks, Milne Library (IITG PI) State University of New York at Geneseo, Geneseo, NY 14454 Cover design by William Jones Licensing This text is published by the Open SUNY Textbooks project under the Creative Commons 3.0 license format (see full length legal text at http://creativecommons.org/licenses/ by-sa/3.0/): You are free: 1. To share — to copy, distribute and transmit the work 2. To remix — to adapt the work 3. To make commercial use of the work Under the following conditions: 1. Attribution: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). 2. Share Alike: If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. With the understanding that: 1. Waiver: Any of the above conditions can be waived if you get permission from the copyright holder. 2. Public Domain:...

Words: 78185 - Pages: 313

Free Essay

Healthcare

...Barack Obama Dreams from My Father “For we are strangers before them, and sojourners, as were all our fathers. 1 CHRONICLES 29:15 PREFACE TO THE 2004 EDITION A LMOST A DECADE HAS passed since this book was first published. As I mention in the original introduction, the opportunity to write the book came while I was in law school, the result of my election as the first African-American president of the Harvard Law Review. In the wake of some modest publicity, I received an advance from a publisher and went to work with the belief that the story of my family, and my efforts to understand that story, might speak in some way to the fissures of race that have characterized the American experience, as well as the fluid state of identitythe leaps through time, the collision of cultures-that mark our modern life. Like most first-time authors, I was filled with hope and despair upon the book’s publication-hope that the book might succeed beyond my youthful dreams, despair that I had failed to say anything worth saying. The reality fell somewhere in between. The reviews were mildly favorable. People actually showed up at the readings my publisher arranged. The sales were underwhelming. And, after a few months, I went on with the business of my life, certain that my career as an author would be short-lived, but glad to have survived the process with my dignity more or less intact. I had little time for reflection over the next ten years. I ran a voter registration project in...

Words: 154210 - Pages: 617

Premium Essay

Geiziji

...FROM THE AUTHOR OF THE BESTSELLING BIOGRAPHIES OF BENJAMIN FRANKLIN AND ALBERT EINSTEIN, THIS IS THE EXCLUSIVE BIOGRAPHY OF STEVE JOBS. Based on more than forty interviews with Jobs conducted over two years—as well as interviews with more than a hundred family members, friends, adversaries, competitors, and colleagues—Walter Isaacson has written a riveting story of the roller-coaster life and searingly intense personality of a creative entrepreneur whose passion for perfection and ferocious drive revolutionized six industries: personal computers, animated movies, music, phones, tablet computing, and digital publishing. At a time when America is seeking ways to sustain its innovative edge, Jobs stands as the ultimate icon of inventiveness and applied imagination. He knew that the best way to create value in the twenty-first century was to connect creativity with technology. He built a company where leaps of the imagination were combined with remarkable feats of engineering. Although Jobs cooperated with this book, he asked for no control over what was written nor even the right to read it before it was published. He put nothing offlimits. He encouraged the people he knew to speak honestly. And Jobs speaks candidly, sometimes brutally so, about the people he worked with and competed against. His friends, foes, and colleagues provide an unvarnished view of the passions, perfectionism, obsessions, artistry, devilry, and compulsion for control that shaped his approach to business and...

Words: 233886 - Pages: 936