Seasonal Savings: 20% off selected memberships for a limited time. Give now

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

Animating ripples

From: Animation Tips and Tricks with Flash Professional

Video: Animating ripples

So in the section I am going to show you how to animate a ripple effect using just gradients. We are not going to animate any shapes; we're just going to animate the colors to create a little splash effect. Obviously, this could be used for many things. Depending on your scene, you can make an explosion, or magic effect or, the choice is yours. And because we're moving colors here, not shapes, you can change the colors of this ripple effect quite dramatically as you move them. Let me show you what this looks like on the inside. We have three keyframes: that's the first one, the second, and that's the third.

Animating ripples

So in the section I am going to show you how to animate a ripple effect using just gradients. We are not going to animate any shapes; we're just going to animate the colors to create a little splash effect. Obviously, this could be used for many things. Depending on your scene, you can make an explosion, or magic effect or, the choice is yours. And because we're moving colors here, not shapes, you can change the colors of this ripple effect quite dramatically as you move them. Let me show you what this looks like on the inside. We have three keyframes: that's the first one, the second, and that's the third.

And in Outline mode, nothing moves. The only thing that changes is the color of the object. On frame 1, we have our three colors defining the ripple, going from 0 opacity to 100% white, to 0. And that gives us a nice little white donut effect. Here it is again, the same again thing, but we've spread it out a little more. We can control the form of these waves by moving these colors. Then on the final frame, everything goes to 0.

Again, I can also change by moving these apart. We can stretch the wave and make the dissipation a little more gentle. So that's the basic process. So the next step is to replicate this. I am just going to delete these layers and we will build one of these from scratch. So let's make a new layer, and I am just going to make a circle, and set this to a radial gradient. And let's make a new gradient. If we use the one that's already there, it might be what we want, it might not.

But I'm just going to create an artificial color gradient from blue to red, so you can see, I think, more clearly what's going on here. So I'm going to pick a gradient that's blue on one side, and maybe bright red on the other. Select the Oval tool, hold down Shift, and drag, and we have our object. I am going to delete the line that defines it on the outside. Delete the line. The other thing that's a bit weird about this is that the center of the object, this triangle, is off a little bit. So I'm going to pull it back in the middle.

Snap is on, and it's being a bit of brute, so let's switch off any snapping. I want a really fine control over this. So under View>Snapping>Snap to Grid goes off. And center that as close as we can. Okay, so the thing to remember is that this is going to be its own symbol with its own Timeline. So let's hit F8 to symbolize it, and call it splash, and just double-click on that to go inside. So now we're inside it's external Timeline. So here is the water level and the splash level.

So keep an eye out here to see exactly where we are. Let's get this thing a little closer to what we want. So the first stage will be to rotate this horizontal axis to make it a little more vertical. The reason being, I want to have access to the triangle to offset the size of this. I'm going to use the Free Transform tool, or Q on the keyboard, to get a geometry, that's closer to what I want. And let's match that reasonably close to the perspective of our background here. And so now we have this false color splash area.

So let's go back to the Gradient Transform tool and begin to shape with this thing. So I'm going to pull that in; that's pretty awful looking. Let's pull the blue out a little, and by clicking here we'll make a second blue, and there we can see it. So now we can pick things that maybe are a little easier on the eye. This is pretty hot, so I'm going to change this to white, change this to white, and change the red to white. And then on the outer end, I'm going to bring the opacity down to 0 of both the inner and the outer colors.

Sometimes I click on these and nothing happens, so if that happens to you, just recheck the little color here, and drag it again. And again, nothing happened, so do it again. This happens, so you do have to be patient with this tool. Don't let it get to you; it's not just you. So okay, that's our first keyframe, and that's pretty much the hard part. Let's hit F6 on 20, and we will go to the next key. There we go.

So there we have our middle keyframe, and let's make another one. Hit F6 on frame 40, and I'll hit the Gradient Transform tool of course, and click on frame 40. And move these out to the very end. You can see on the Stage it's reacting properly now. On this one here, we want the middle white to go all the way to 0, and there it goes. So, let's select the Timeline and go Remove Tween, and go Create Shape Tween.

So what we're seeing happening here is the failure to apply the shape tween. And the reason why is that later versions of Flash are very helpful, and they have drawn a blue line around these objects where none was meant to be. When I applied Classic Shape Tween by mistake, it transformed them into symbols. I don't want them as symbol, I never wanted them as symbols, but Flash thought I did. So the solution to this is to break them apart again. Now actually, I'm glad you saw this, because this is the kind of thing that can really stymie people if they don't know some of the peculiarities of the program.

So let's select the first frame and hit Control+B to break it apart again. The second frame, we don't want to see blue lines anywhere; Control+B again. And the third frame is fine; we're not seeing any blue lines there at all. Now let's go in here and Remove Tween, and now we apply Create Shape Tween. Be very careful not to select Classic Tween by mistake; it will not help you. And now we have our shape tweened ripple. Let's add F7 here to create a blank frame so it goes completely to white.

And now when we play the outer scene we have our ripple. Right now it's set to loop, which you might want, or you might just want it to play once, so we can set that in the Properties panel under Looping. In order to create the little rain shower effect we saw earlier, let's just make some empty layers. Select that, hold down the Alt key, and drag to different points on the Timeline. And you'll see them all occupying the same space. You might want that, you might want to be offset, so you might want to hold down the Shift key and move the Arrow keys, and that is the process by which we would create a series of overlapping ripples.

You can scale the sizes, you can scale the opacity of these as well, but that's the process. So I hope that's helpful in giving you some ideas as to how you can use gradients in combination with shape tweening to create some nice animation effects.

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 · 13821 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 preferences from 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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

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.