Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Animating a diving board

From: Animation Tips and Tricks with Flash Professional

Video: Animating a diving board

So next is the diving board stagger, and this is somebody jumps off a diving board: boing! This has a lot of different applications. Imagine this is somebody's head, and got clobbered on the side. Like in the old cartoons from the 50's, Tom & Jerry or whatever. It's like, zoing! Like that. So it's not just something that you need to apply to a diving board. So let's have a look inside and see how it's done. So basically what I did was, I created two separate scenes:in one, the diving board is in an up position, and moves into a down position, and in the other the diving board is in a down position, and moves into an up position.

Animating a diving board

So next is the diving board stagger, and this is somebody jumps off a diving board: boing! This has a lot of different applications. Imagine this is somebody's head, and got clobbered on the side. Like in the old cartoons from the 50's, Tom & Jerry or whatever. It's like, zoing! Like that. So it's not just something that you need to apply to a diving board. So let's have a look inside and see how it's done. So basically what I did was, I created two separate scenes:in one, the diving board is in an up position, and moves into a down position, and in the other the diving board is in a down position, and moves into an up position.

And I used an ease out of 100, so that it gets slower and slower and slower as we approach the loss of energy in the stagger. Then the next step was to create two layers: one layer for the upstate, and one layer for the downstate, and they play once right through, and then I simply deleted the alternate frames. So we go from Frame 1 of the upstate, to Frame 2 of the down, to Frame 3 of the up, to Frame 4 of the down; it plays right through. Now I've been noticing something about the CS5.55 playback, and there is definitely a slight glitch creeping in. I don't know if it's particular to this computer, or this latest version of Flash.

But when I play this, especially with these really fast staggers, I am seeing it, and it's kind of weird. Sometimes I am playing through here, and it's great. Other times it seems to stick. So if you ever see that, and you are a bit bothered by it, just go Control>Test Movie>Test. And it'll probably give you a much more reliable playback, and of course the most reliable playback would be to render your animation as an MOV file or an AVI file. So keep an eye out. It kind of threw me a bit earlier. So the way I have built these planks; I built them kind of to be a little more three-dimensional. So I had three different layers for the front, the side, and the top. So we don't have enough time, honestly, to go through and be that fine tuned with it.

So what I am going to do is rebuild this just using a single plain. It will show you the exact principles of what we are doing here. I just wanted to make it look three- dimensional so that you have a good idea that we're not limited here. You can have multiple layers work together to create these really cool effects. So let's go back to the outer layer. I want to just make the plank go away for a second, and let's just guide him up. And let's make a new layer, so use the Rectangle tool, I am going to make a little plank, and let's give it a little bit of a perspective.

So here is our plank, and it's in the standard, what we would call a zero pose, or a flat pose. Nothing has happened that's interesting, so that's good. Let's hit F8, and we'll call this plank, and let's make this the up state. So I'm going to put the pivot point to the far left, so the natural pivot will be somewhere over here, that makes sens. Even though Flash defaults to there, I wouldn't worry about that right now. Click on that; it's a plank up and let's make our label up. And let's see, before we do anything else let's just make this as clean as we can.

So I'm going to hit F5 just to extend our Timeline 30 frames. And now we will do the down pose. So I will make a new layer, click the keyframe, hold down Alt+Option, and Drag; little plus sign appears over your cursor, and I am going to call the lower layer the down layer. Click on that symbol, right-click, and go Duplicate Symbol, and this will be plank down. Now if I double-click on that, I can hit the final frame. Hit F6, down position will be the first frame. If we imagine that the diver is going to be standing here, and the board is attached to the wall here. So let's have the down position -- just clicking and dragging the points, let me put a slight little curve on it. And now we right-click on the Timeline, and go Create Shape Tween, and I am going to ease out 100.

So back to the main Stage, hide that, and now we are going to the up position. So I am going to hit Frame 30, and keyframe that. Frame 1 would be the maximum up position, with the end framing the settle, of course. Okay, right-click, and go Create Shape Tween, and no tweens were needed on this one. So if you see weird shapes spinning around or the thing doesn't work, then you would apply a shape hint: Control+Shift +H, or Modify>Shape>Add Shape Hint.

A quick word of warning to back up your file, and that's about the 50th time today I've said that. When you apply shape hints, the Flash engine can go strange, and crash on you. Really it's frustrating when you lose a lot of work, especially when you know that you should have backed up your file first. So please back up your file before anyone applies a hint. But that should fix any glitches in the shape tweening. So let's look at these two layers working together. That's kind of interesting. So let's make sure these only play once; right now they're set to loop, so let's click on each one in the Properties panel. Tell him to play once. Bottom one as well, and now when we play back, that's nice.

So now we select all the frames that we are going to animate, or that are closing in on that static pose, and hit F6, and now we simply delete alternate ones. So if somebody was diving off the board, for example, so the diver jumps up, and hits down, then I would expect this to be the first frame that we would see. So let's get rid of the top one first. And I am just going to make this little checkerboard deletion all the way through the Timeline. Click on the ones you don't want, Control+X, and there is the result.

Now I mentioned earlier that little glitch; I am seeing it again, so I'm going to Control>Test Movie>Test. That's nice. Okay, so as you see, that's a really nice simple way to deploy a stagger. And the other thing to bear in mind, and this is where I really love the way these stagger effects in Flash can be set up; if you want to make it longer, you'd simply extend the end state of each of these. And you would simply make more keyframes, and then repeat this little checkerboard pattern. It could have very long slow staggers. In the good old days, drawing by hand, that would have taken a very long time.

So it's super easy to play with these, and have fun with them. I hope you find ways to utilize this particular effect.

Show transcript

This video is part of

Image for Animation Tips and Tricks with Flash Professional
Animation Tips and Tricks with Flash Professional

46 video lessons · 13302 viewers

Dermot O' Connor
Author

 
Expand all | Collapse all
  1. 6m 35s
    1. Welcome
      1m 4s
    2. Using the exercise files
      51s
    3. Common keystrokes and shortcuts used in this course
      4m 40s
  2. 1h 24m
    1. Understanding video versus SWF
      2m 30s
    2. Overview of shortcuts, extensions, and setup
      6m 27s
    3. Understanding linear and radial gradients
      2m 39s
    4. Overlapping and animating the colors
      3m 53s
    5. Lighting a scene
      10m 24s
    6. Creating lens flares
      10m 40s
    7. Animating ripples
      7m 2s
    8. Creating a gradient globe
      11m 41s
    9. Creating a gradient bottle
      10m 26s
    10. Applying gradients to a character's eye
      10m 2s
    11. Applying gradients to a character's skull
      8m 49s
  3. 56m 53s
    1. Tweening a circle to a square
      10m 9s
    2. Using thumbnails
      4m 39s
    3. Animating a magic carpet jump
      10m 12s
    4. Setting up a magic carpet walk cycle
      7m 41s
    5. Animating a magic carpet walk cycle
      9m 33s
    6. Shape tweening hair
      3m 50s
    7. Intro to overlapping hair
      1m 57s
    8. Animating overlapping hair
      8m 52s
  4. 1h 8m
    1. Animating waves
      8m 7s
    2. Animating clouds
      7m 48s
    3. Animating a flame
      11m 38s
    4. Animating an explosion
      9m 1s
    5. Adding in-betweens to the explosion
      4m 36s
    6. Adding explosion clusters
      6m 43s
    7. Optimizing the explosion
      7m 30s
    8. Animating smoke with particles
      12m 45s
  5. 32m 18s
    1. Introduction to staggers
      1m 5s
    2. Animating a simple stagger
      5m 8s
    3. Animating a diving board
      6m 15s
    4. Animating a tremor
      5m 56s
    5. Animating a scream
      7m 12s
    6. Refining the scream
      6m 42s
  6. 47m 49s
    1. Introduction to Virtual Camera
      5m 4s
    2. Animating parallax
      6m 9s
    3. Animating a crane shot
      6m 26s
    4. Animating a zoom and rotate shot
      9m 30s
    5. Animating a track shot
      11m 0s
    6. Lighting a 3D shot
      9m 40s
  7. 19m 48s
    1. Animating a cross dissolve
      6m 10s
    2. Animating a wipe
      3m 34s
    3. Animating a fadeout
      10m 4s
  8. 20s
    1. Goodbye
      20s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Animation Tips and Tricks with Flash Professional.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.