navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

Animation Tips and Tricks with Flash Professional

Animation Tips and Tricks with Flash Professional

with Dermot O'Connor

 


In this course, author Dermot O' Connor introduces a variety of real-world issues that animators commonly encounter and offers practical solutions to them in Flash. The course covers how to apply gradients to create subtle texture and light characters, reducing the flat look of most cartoons; how to simulate natural phenomenon such as wind, fire, and clouds; how to mimic 3D space; and how to add fades and transitions to create custom cuts between scenes. The course also includes a look at staggers, which can be used to create camera shake, tremor effects, and extreme character reactions.
Topics include:
  • Overlapping and animating colors
  • Creating lens flares
  • Animating hair with shape tweens
  • Animating an explosion
  • Animating smoke with particles
  • Animating a scream
  • Using Virtual Cam
  • Lighting a 3D shot
  • Animating cross dissolves

show more

author
Dermot O'Connor
subject
3D + Animation, Animation
software
Flash Professional CS3, CS4, CS5, CS5.5
level
Intermediate
duration
5h 16m
released
Aug 09, 2011

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:04Hi! I am Dermot O'Connor and welcome to Flash Tips and Tricks.
00:08This course will focus on techniques that will be useful to the intermediate
00:12user, as well as the more experienced animator.
00:15You will see how to animate natural effects like smoke, water, and clouds.
00:22I'll show you how to add gradients in a controlled and subtle manner to remove
00:26that flat, flashy look that so many cartoons have.
00:29You will be able to use this technique to light your scenes, enabling you to
00:34take your work to a different level.
00:36There is also a demonstration of the use of staggers, which will allow you
00:40to create some really effective shakes, tremor effects, and screams or extreme reactions.
00:47Another great trick to have up your sleeve is the creation of fake 3D space to
00:52give the impression of depth.
00:54Finally, we'll cover some simple fades and transition effects.
00:58These will be important if you want to create longer projects with custom cuts
01:01between your scenes.
Collapse this transcript
Using the exercise files
00:00Exercise files are available to premium subscribers of lynda.com.
00:04Simply download the exercise files to your computer and place them on the
00:08Desktop for ease of access.
00:10The exercise files are organized by chapter number.
00:15Whenever an exercise file is available for a video you will see a yellow
00:19overlay at the bottom of the screen that indicates the location and name of the exercise file.
00:24I've already rendered out SWF files, showing you the animations and effects
00:29contained in each FLA file, which will allow you to preview the content of the
00:33course very quickly.
00:37Working with the exercise files can add great value to the training.
00:41However, if you don't have access to the exercise files you can still follow
00:45along with the videos, often using your own files, and have a fulfilling
00:49learning experience.
Collapse this transcript
Common keystrokes and shortcuts used in this course
00:00Before we get started, I just want to give you a very quick run through
00:03of some of the tools that I am going to be using in the program, and the kind
00:06of things that I would really like you to know before you start. And I
00:10strongly recommend if you haven't ever used Flash before, that you watch one
00:14of the Essentials Courses on Flash, and that will get you up to speed on the basic tool set.
00:19I do assume an intermediate level of knowledge on this.
00:22But during the course of the course, what I am going to do is click on this
00:25little gray area here and very quickly show you -- we will go into greater detail in
00:29the course, but what you're going to see; the basic workspace layout that I set
00:33up during the course, will look a little bit like this. And I will be setting up
00:38the Tools panel of two vertical columns, because of course we don't have a lot of
00:42room on the screen. And the tools that I will be using during the course with
00:46greatest frequency will be the Selection tool, the Subselection tool, and there
00:51you can see the shortcuts.
00:52We will be using Free Transform and Gradient Transform a lot.
00:56The other tools that we will be using commonly will be the Line tool, and the
01:01Rectangle tool, which also contains the Oval tool.
01:04I don't really mess with the Rectangle Primitive or the Oval Primitives very much at all.
01:09The Brush tool of course, very useful, although I don't use the Spray Brush tool beneath it.
01:13We also have the Paint Bucket tool, which we use a lot, as well as the Ink
01:17Bottle tool to color the lines.
01:20I don't use Bones in this tutorial, and I don't use the Deco tool, or any of the
01:25newer features or the newer tweening.
01:27I like to stick with the classic shape tweening and the classic motion tweening,
01:31and a lot of animators don't like the newer tools, because they're not quite
01:34appropriate for the kind of things that we do for our workflow.
01:38The Eyedropper tool is used a lot as well.
01:41It's a very useful tool for selecting colors of course. And whenever you see me
01:44moving the Stage around -- and I am just going to make a quick temporary shape --
01:48if you ever see this happening, that means I've touched the Hand tool.
01:51Obviously, I can't call that out every time
01:53I do it. It would just make the course another hour longer.
01:56So don't be bothered if you see this happen. And of course, if you see me
02:00zooming in, that is of course the Zoom tool.
02:02By clicking or holding on the Alt or Option key, we zoom in and out, or we can
02:06draw a box around it.
02:07So whenever you see these operations happen, that's exactly what's going on.
02:12These functions really become automatic to you when you use the program.
02:16If you see me navigating through the Timeline, I am just going to make an
02:19empty keyframe down here, and again, we will cover this in a little more detail later on.
02:23Whenever you see me moving through the Timeline, this is because I'm clicking on
02:27the Comma key and the Period key on the keyboard.
02:30They are just to the upper right of your spacebar, and they go back and forth in the Timeline.
02:34So if ever you see this operation happen, that's what's occurring.
02:38So it's something that, again, will become muscle memory to you with a little bit of time.
02:42The other thing I would like you to understand that from the start is the
02:46principle of how to create a symbol.
02:49So what I'm going to do is very quickly demonstrate, and again, this will be covered later on.
02:53I am going to make a temporary little symbol.
02:56When you click on the symbol in the Properties panel, we have different ways of controlling it.
03:00Sometimes it will appear as a movie clip, and sometimes it will be a graphic.
03:04At all times in this course, you want your symbols to be set to Graphic.
03:09You need to understand the Looping section here.
03:12If your symbol is set to the Single Frame, you won't see any of the animation
03:15that will be contained in that symbol when you're playing on the Timeline.
03:18So be sure that you always set this to Play Once.
03:21I will mention the many times in the course, but always somebody forgets.
03:25So just a reminder upfront to set it to Loop or Play Once, and I like to have
03:30it set to Play Once.
03:31That will save you some frustration.
03:34I think we've covered most of it.
03:35The other thing that might happen from time to time;
03:37you will see something like this happen.
03:39This means I've right- clicked on the object. That's all.
03:42Again, these won't be called out every single time, because obviously it's a bit of a mouthful.
03:47But this is what will be happening.
03:48If you see these little pop-up menus, and I think same for the Timeline here,
03:52same for symbol, same for symbols on the Stage.
03:55It doesn't happen too often, but it's often enough that you should be aware of that happening.
03:59One other thing, and that is how the interface operates.
04:03We'll begin the course I think pretty much looking like this, but do
04:07understand that the interface can be torn apart, and you can drag and drop the
04:12different components to different parts of the project.
04:15It only happens, I think, at one point in the course, where I get tired off the
04:19color palette constantly popping on and off and I drag it over here.
04:22So do be aware, and again, this kind of behavior will be covered in greater
04:25detail in one of the Essentials Courses.
04:27But it's a very useful attribute to be able to click and drag.
04:31By clicking on these little tabs, you can basically drop the window wherever
04:34itt works best for your personal workflow.
04:37So with that I think we're ready to continue with the course.
Collapse this transcript
1. Lighting and Gradients
Understanding video versus SWF
00:00Before we begin the course there are some issues that have to be dealt with.
00:04One of the problems that you're going to hit;
00:06everyone's going to hit this problem, is at some point you're going to throw so
00:10many effects at Flash that it will slow down.
00:14What you're seeing right now is an animated smoke effect, and we will be doing
00:17this later on the course.
00:18But I want you to see what's going to happen when you throw a lot of these
00:23different particles at the Flash program; at the SWF, or the swiff, format.
00:27I am going to make it even worse than it is right now by hitting Full Screen.
00:31And this is a fairly fast computer, and what you're seeing -- it starts pretty
00:34fast, and then as the particles begin to really hit their maximum number, it
00:39slows down, and then it speeds up again as the particles have dissipated. And
00:44what's happening is a combination of stresses on the player. All these
00:47gradients, and the number of them, is simply too much for Flash, even on a fast
00:52computer, to keep up with.
00:54The solution to this;
00:55there are a couple of cheats that we will definitely cover, but the quickest
00:58one, and the one that I use most often is to simply render out the animation as a movie file.
01:04Now here we have a QuickTime movie of the same animation, and we want this to loop.
01:10So I am going to select Loop. and I also want it to play full screen, so we
01:15can really compare it.
01:16And we let it loop a couple of times.
01:21So as you can see, we're getting a full 30 frame per second playback, and this is
01:26something that you're going to have to decide yourself case by case.
01:30You will have a different computer than me, a different video card, you have
01:35different animations. At some point you are going to hit this wall.
01:40You will try to do everything that you can with different effects, and nested
01:44effects, and you'll see it happen. One minute Flash will be keeping up with your
01:48animation, and then you will hit that little hump.
01:52This is the most common way that I have to work around it, so that I can test my
01:56animation truly by rendering out a movie file.
02:00We will cover this in greater detail later.
02:02I really want you to know about this in advance, because you might hit this
02:05wall yourself in the next lesson, the one after that, or the one after that.
02:09So that will prepare you.
02:11So don't get disappointed.
02:12If at any point in this course you feel like my computer is too slow, there are
02:17all kinds of tricks and workarounds that we will be deploying.
02:19This is one of them.
02:21So please keep up and we will guide you through it, and help you to really
02:24squeeze every last ounce of performance out of Flash and your computer.
Collapse this transcript
Overview of shortcuts, extensions, and setup
00:00So let's get started setting up Flash so that it works pretty much the way
00:03we want it to work.
00:04So let's create a new file on the template; ActionScript 3.0 should be fine.
00:11I like to make sure that the toolbar is on the left side of the screen. I feel
00:15it's a little too cloistered over here.
00:17So to move it, simply select this gray bar, click and drag. And as you move it
00:23around the program little blue columns will appear, and once you see this
00:27vertical blue line, you can release, and there it is.
00:30And now you can resize it to whatever horizontal or vertical structure you prefer.
00:36I like -- two vertical columns works nicely;
00:39I find this easier to find what I'm looking for over there.
00:42The next thing you want to do is make some adjustments to the
00:45Preferences settings.
00:47So let's go Edit>Preferences. And the big one, the most important one, is to
00:52select Object-level Undo from the Document-level Undo dropdown, and click Yes.
00:58This will provide every symbol in your project with its own completely
01:03independent history of Dos and Undos. This is very important when you're making changes.
01:09If you select Document-level Undo, all the actions that you make, and all your
01:14different symbols, will be recorded in a single history. And it can be very
01:19confusing when you start hitting Control +Z, and you begin going back through your
01:23history, you can get lost in that very quick. And it's very useful to have
01:27Object-level Undo selected.
01:29And also, make sure the Contact- sensitive Selection and Lasso tools is off.
01:34This means that you can select a symbol only by drawing a box completely around
01:39the symbol, and not by touching it.
01:42If this is on, then you can simply select a symbol by clicking on it; it's
01:46simply too sensitive for me.
01:48So just make sure that that's set to the off, and I think that covers that.
01:52The other thing that bothers me is the default color palette. A lot of people
01:57work with that, I think because they just think it's too much effort to
02:00change it. So I've made a better palette than this.
02:03To access that palette, go to the project folder and open 1_02_Color_palette.
02:11Nothing has changed, but the palette has.
02:13So let's click on the Swatches tab, and this is the new palette.
02:16And the next thing to do is very simple: left-click on this button, and Save as
02:22Default. Yes. And this means that every time you make a new project from now on,
02:28you will see this palette.
02:29If for any reason you think, "I want the old one back", it's very simple. Click on
02:34the button again, and select Web 216, and you will have access to the old palette.
02:39And then simply go Load Default Colors, and you can get the nice and more subtle one.
02:43So now you have the option of working with a slightly more artist-friendly
02:47palette than the original.
02:49The next thing I would like you to know about is some options from third-party
02:53developers that you have that would really give you some extra tools;
02:57these will come in very useful when you're really getting to the serious work.
03:01There's a fantastic Web site called toonmonkey.com and this contains many free
03:07extensions that you can install.
03:09So you may not have installed an extension before, but first let me walk you
03:13through the extensions, and then I'll show you how to install them; it's very simple.
03:16So the first one -- I really don't use this one myself, I'm happy with the
03:20internal timing system in Flash, but it's a timing chart that allows you to have
03:25different spacings for tweens.
03:27Toggle Outline, which allows you to toggle back and forth. I don't think you
03:30need that honestly; it's not a part of this course, anyway.
03:35Layer Color is very useful. This allows you, if you want to, for example, change
03:40the color of seven layers at the same time to green or red, so you can see them
03:45all at the same outline color. It saves you from having to left-click and change
03:49the outline color one by one by one.
03:51Very useful later on, and we will definitely be using that.
03:56New Anim Clip is useful for converting a series of layers in the Timeline into
04:00a single nested clip.
04:03Tween 2 Keys is something that I don't use much, but it may be useful to you.
04:07I would definitely recommend you spend some time looking through all of these.
04:11FrameEDIT was useful in older versions, but actually seems to have been
04:16integrated into the later versions of Flash, and certainly working with CS5, and
04:215.5, so I don't think this is needed for the newer ones.
04:24Multi Swap is very useful if you're going to change a batch of symbols on the
04:29Stage from one to the other. And Merge Layers; this really should be built into
04:33Flash. It combines 3, 4, 5 layers into a single flattened layer.
04:38It saves you from having to go through it one by one.
04:41So those are the main ones.
04:43So let me go and install; show you how it's done.
04:45We will go to Layer Color, click and download, and that's it.
04:52So we should have it on the Desktop, or wherever you've saved it on your
04:55computer; wherever your browser saves it.
04:57And the next thing to do is to open --
05:00you should have somewhere on your computer, under your Adobe folder, the
05:05Extension Manager. Click on that and select Install. And wherever you've saved
05:15the extension on your computer, select it, Open>Accept. And now we have
05:22installed the extension, so let's close that.
05:25And to see that I'm going to have to restart the program, so let's do that first.
05:31So we've restarted Flash, and you'll find the new extension under your Commands
05:36menu. And there it is, LayerColor. Let's see how that works.
05:38I will make some extra layers, I will select these four layers, go to
05:43Command>LayerColor, and let's say I want them all to be blue. They are all blue now.
05:51Very, very useful when we have 25 layers of different shaped objects, particles,
05:56and you want to group them together visually so that you can see precisely
05:59what's happening when you have lots of different elements swarming together. It
06:02saves a lot of time.
06:04So that is the process of extensions.
06:06I will go through and install more extensions that I think I will be needing
06:10in the course. If you see me in later classes open this Command menu, and you
06:14see other extensions, mysterious commands that you don't have in your
06:18version, that's where they came from. And I will flag them later on if I use
06:22them; I will remind you.
06:23With that I think we are ready to proceed with the rest of the course.
Collapse this transcript
Understanding linear and radial gradients
00:00Flash has a gradient feature. This gradient feature has two forms: one is
00:05linear, and one is radial, and in your exercise files folder you'll see the
00:08project file for this.
00:10Linear, as it suggests, is a simple left to right. It can go up, down, or
00:13diagonally. And the radial feature can be of circular form or elliptical; it can
00:18even be tweaked them to an egg shape.
00:20So it's fairly limited; quite straightforward. It can't do anything organic,
00:25so if you want it to curve to an S shape, you're not going to have a good time with it.
00:29Nevertheless, as simple as it is, it can be used to pretty great effect as long
00:34as you work within those constraints.
00:35Click the Zoom tool, or Z on the key keyboard.
00:38So if we look at the frame 1 of this file, you'll see what I call the "bowl of
00:43light". This is what it was called back in the golden age of animation where you
00:46could combine variations of different gradients to create an illumined spotlit
00:52area and favor that area for your animation action, or your staging.
00:56So that's the basic principle that we will be applying throughout the course
01:02whenever we use gradients.
01:03I'm going to show you the big problem that plague gradients in this program, and
01:08that's banding. This can happen in many programs; you will see it in Photoshop
01:12too if you get very, very subtle.
01:14I find that this happens much more often when you use subtle gradients. And
01:20these red lines here; they are the transitions.
01:23Ideally of course, we would like to see a completely smooth from dark to light,
01:27and we're not seeing it.
01:28So this is something that we are going to have to continually watch out for.
01:32I've also noticed that depending on the monitor that you're using, you might
01:35see it or not see it. So depending on your output -- if you are going to be
01:38working for an iPhone this probably isn't going to be something that you need to be worry about.
01:43If you're going to be working for something that's going to be seen on a
01:45television screen or a larger screen, you really have to watch out for this.
01:49I work on a Cintiq at home -- if you don't know, the Cintiq is the monitor that you
01:53can draw directly onto -- and I find that one of the drawbacks of the Cintiq is
01:57that the screen is a little bit darker.
02:00It's a tradeoff in the design of that Cintiq, or any of those screen tools.
02:04I would strongly recommend, before you get too deeply into this, that you test
02:08this pipeline for yourself; for your own workflow. Make sure that you are
02:13comfortable with whatever artifacts might or might not emerge.
02:17It comes down to your project; what it looks like. If it is going to be subtle
02:20like this, as you can see there is very little banding here.
02:23I don't see very much evidence of it at all. You might see some beginning to
02:28appear here, but that falls within that band that I'm comfortable with.
02:33You might not be; you might be extra intolerant of it. It's just something to be
02:37aware of as we proceed through the course.
Collapse this transcript
Overlapping and animating the colors
00:00One of the really fun things about Flash is how easy it is to play with colors,
00:05and gradients of colors, and find ways to overlap them together.
00:08So before we do that and simply start messing with colors, if you haven't had
00:12any experience with color theory, it's a good idea to have just a very simple
00:16introduction to that.
00:17So essentially in the visual arts, the three primary colors are red, yellow, and
00:23blue. And we obtain green, orange, and purple by mixing them in varying degrees.
00:29And of course, you can change the hues of the different colors to get different
00:32kinds of yellow, different kinds of blue, and different kinds of the secondary
00:36colors: green, purple, and orange.
00:38One of the principles in art is to combine complementary colors, and these are
00:41colors that are completely opposite to one another on this color wheel.
00:45So that would make red and green complementary colors, yellow and purple are
00:48complementary, and orange and blue are complementary.
00:52And if you move to any point on the circle, its complementary will be, in theory,
00:57on the opposite side of the wheel.
00:59So this is a very useful technique; you'll see how I use this and implement it
01:03throughout some of the later sections of the course. But to see how we can then
01:08play with different overlapping areas of color, let's have a look at this simple scene.
01:12So I've made a very basic color, and this is a radial color. Let me unpadlock it.
01:17So if you want to alter the gradient of this color area, you can select the
01:21color area. You will see it suddenly is covered in little white dots; it's
01:25very hard to see anything.
01:26Under this button here, the Free Transform tool, it also houses the Gradient
01:31Transform tool, which you can also access by hitting F on the keyboard. Let's do
01:35that. And now you can see how I created this gradient area.
01:40This is the Transform tool, and I can size it, I can make it bigger by moving the
01:45white circle around. I can change the centerpoint.
01:48So that essentially is a very quick introduction to how I created it, and we will
01:53cover this in far more detail later on, so don't worry too much right now.
01:56So this shows you how we can go from one color form and tween to another one.
02:02So on the bottom layer I've gone from this color, and let's open up the Color
02:08panel, and you can see the gradient color is here, and we can change them by
02:13altering this. Let's go back to the default.
02:16So by having the second keyframe here with a slightly different color, we then
02:21activate classic shape tween, and that shape tweens from one to the other. And
02:25it doesn't just tween the colors; it can tween the position of the colors.
02:30So you can use this for creating all kinds of effects of light changes. It's
02:35more dynamic than it might seem at first glance. Let me undo that.
02:37I like to padlock of the bottom layer, because it's very easy to select the wrong one.
02:43On the top layer, I created a slightly different gradient going from, again,
02:47two different colors.
02:49I'm having a green layer on top and a red layer on the bottom.
02:52I find that if you combine a red layer, for example, with its complementary:
02:56in this case that make the other layer a green layer. I am making it slightly transparent.
03:01You get all kinds of very subtle cooler colors that combine to make a much
03:05more natural feeling.
03:07So by clicking on this -- if you don't see this Transform tool, don't forget it's up here.
03:12Click on the color selector, and you'll see the colors are set to opacity:
03:17they are transparent. And the Alpha transparency, it's 30% on the first one, 39 on
03:22the other. By clicking and sliding we can make them even less or more opaque.
03:26And in this case I have also tweened the color at the end of it, just for a
03:30little variety. It's a very simple demonstration just to give you an idea of
03:34some of the optical effects that we'll be playing with later on to create
03:38more concrete illusions.
03:40So that's a basic introduction to the kind of color gradients, and the effects of
03:46overlapping color gradients, and how we can shape tween those gradients to create
03:50some pretty interesting effects.
Collapse this transcript
Lighting a scene
00:00So here, from your Exercise Files folder, an example of the dreaded flashy look.
00:06And this is what happens in Flash, it's just a part of the program; you fill these
00:11vector areas with flat colors, and they look flat. So we do lots of little things
00:16to try to break it up, like we put little shadow lines under them, maybe
00:22highlight areas, sometimes the black line around the edge to give it a bit of
00:25dimension, although not in this case. But you get the idea. And we have the nice
00:29little cute animation; they are walking across the Stage.
00:31But it all looks really flat, like there is one gigantic ball of light
00:37illuminating everything.
00:38So awhile back I began playing with a way of getting rid of this, and the
00:42solution I found was to use gradients, similar to the principles we have covered
00:46in the earlier sections. And here we have a much different looking scene from the
00:51one I showed you at the beginning: from here, to here.
00:55It's surprisingly simple to achieve this.
00:58We simply use three levels, three extra levels, that's all. One with a radial
01:02gradient, and the other two with linear.
01:04I am going to show you how to achieve this.
01:06So if you don't have the Exercise Files, use any file of your own as long as you
01:10have some kind of physical space, maybe put a little cube or a box in the
01:13middle, just to have something there to focus your eye.
01:16You don't have to have little men walking across the screen, but I just
01:19thought it was cute to look at, and give you an idea about something maybe
01:23a little more dramatic.
01:24So let's double-click on the symbol with the Gradient layer, we want to move the
01:28Timeline window up a little to see all the layers, and let's dolly out a little
01:32to have a look at everything.
01:35So the three layers in question that perform most of the work are Gradient layers.
01:39Now I did add some extra small touches; I put a slight gradient on the ground
01:44layer, and I did darken the chap walking in. That was a very simple operation.
01:49Let me click on him. That was done in the Properties panel, under Color Effect,
01:54Brightness down to 59%, and then brightening him up as he walks into the shot.
01:58So just bear that in mind; that was one little extra thing.
02:01But almost everything you saw that separates this from the first one is a radial
02:06gradient, and then a linear on the left, and a linear on the right.
02:11And let's look at them close up.
02:13Here is the radial gradient, and again, to select that this button here,
02:17sometimes that says Free Transform tool, other times you might want Gradient
02:20Transform tool. So be sure you select Gradient Transform tool, or F on the keyboard.
02:25And now you can see and begin to engineer the radial on the ground. This would
02:29be the result of an imaginary spotlight above the Stage.
02:33So let's click to see the colors of this. And now as you can see it's a very
02:37simple gradient; it's only got 4 colors. And I would like you to be aware, too,
02:41that depending on how your program is set up, Flash now has different ways of
02:45selecting colors, and I like to select this one; it's a little more intuitive for me.
02:51So when you see me modifying colors in Flash, just be aware that you have H
02:56selected, and you can then pick your color from this vertical column, and then
03:01you can modify the properties of that color by moving around the square in here.
03:06You have millions of colors at your disposal.
03:08So it goes from the center, which is here, to the outside, which is at the far right.
03:13The center point is out 0 opacity, and we can change it by clicking and dragging.
03:18The next one out is also set to 0.
03:20We then go to about 30% opacity;
03:23you can see the color value changing. So I was being probably a bit subtle with
03:27this. Going from red that's 0, to a yellow that's 0: that's kind of redundant. We
03:31can actually get rid of that one.
03:32So we can go from 0% here, to about a third opacity that's slightly blue, and
03:39this very dark color here, that's about 50%, and that gives us a dropoff.
03:42We can change the dramatic value of the scene simply by changing the outer
03:46color's opacity setting.
03:48So let's have a look; see what that does.
03:52You can see it's a much more ominous sky that the little men are now walking under.
03:56So let me go back to the original one. I'm going to hit Undo a few times, and give
04:01you a quick look at the linear.
04:03And probably easier if I switch off the others; it's a very subtle little linear gradient.
04:09So again, same basic controls. Of course, they are like a vertical, or a series
04:13of parallel lines, which you can then control by clicking and dragging, and then
04:19you can rotate the line by moving this widget here.
04:22So that is that; that is how we control it.
04:25So what I am going to do is walk you through the process instead of just
04:29demonstrating it, so you can follow along and have an idea of how it's done.
04:33So I'm going to make a new layer, and I'm going to click and hold down the Alt
04:38key to duplicate this layer. And I like to do this when I'm experimenting with
04:42new effects and I maybe want to mess things up a little bit, so that I can not
04:47worry about the existing two scenes.
04:49So be sure you select the Selection tool. Select your new symbol on the Stage,
04:54right-click, and duplicate it, and we will just call it copy.
04:58Now if you double-click on that, we know we are going to need a new layer for
05:01that gradient, and two more up here. And let's label them properly: gradient,
05:07circle, we just call it C for circle; keep the name short. This will be
05:11gradient right side, and this will be gradient left side. L and R; keep it
05:18nice and short again.
05:20So let's do the circular gradient first, and what we want is an area of color
05:25that we are going to drop down that will cover the entire scene. Don't try to do
05:28one that will just cover a portion of it; it doesn't really buy you much.
05:32So I'm going to select the sky layer, because the sky layer covers everything.
05:39And hold on the Alt key and drag, or you can simply draw a new rectangle over
05:43everything, but this is quicker.
05:44Okay, so I am going to select that color area, and then select our Color tab, and
05:51under Solid color we switch to Radial.
05:54Now, depending on how Flash is set up for you, and what you did last with Flash,
05:58you're going to see any number of different radial effects; some of them
06:02probably pretty horrible.
06:03So I am going to select a few colors at random so that I'm a little closer
06:06to seeing some of the strange combinations that different people out there might see.
06:12So you may see something like this, it's completely unusable.
06:15So let's select that new layer, and again, hit F on the keyboard or Gradient
06:19Transform tool, and let's start shaping it.
06:22First thing I like to do is to shape the geometry; that's the easiest
06:25thing to do. And it is nice sometimes to have really bright colors for this part
06:28so that you can absolutely get an idea.
06:31So this widget here scales, this one squashes it and stretches it, and this one
06:35rotates it. But for now all we really need is a little ellipse, so let's do that.
06:40And make sure it tries to match the ground plane. If you notice the horizon
06:43there, it's nice if we can make it match that. You'll get a more realistic effect.
06:48So now we can go in and try to make it look a little more realistic.
06:52So as you can see the brown here matches the brown there. And easy to
06:55remember that this being the inside, it's closer to the inside of the screen. And
07:00this is the outside part of the gradient, being closer to the outside of the
07:03screen. That's how I remember. It can be confusing, like, which of these colors
07:06matches what on the Stage.
07:09So let me select the outer one. I am going to darken it and immediately, that's
07:13instantaneous, you're starting to get a feeling of dark thunderclouds or
07:16something. So let's get rid of this green thing in the middle; we don't need
07:20anything really powerful or strong in there.
07:22So you can select whatever subtle shade of gray you like, and let's bring the
07:27opacity down to zero
07:29so that we see the original ground layer peeking through. And this blue color I
07:33am going to push closer. By pulling the shapes close together, like really close
07:37together, you can see where the join is; where the seam is. And then you can
07:41start going back from that and controlling the dropoff. And we are at 41% for
07:46this blue; it's a bit hot, looks far too bright. And may be we should darken it
07:49too; it's a little too bright as well.
07:52So now we are getting something that's starting to feel a lot more like a real
07:55natural illumination from above.
07:58So again, I am going to check this again. We are at 0%; I am going to pull it in
08:01a little bit. As you can see, this position has a direct effect on the physical
08:06position of the light on the Stage.
08:08So I think that's not a million miles away. So that's pretty good; let's lock that.
08:12And now that the radial has been taken care of, we want two linears.
08:16So again, I am going to duplicate that flat sky layer, and hit F6, and drag to
08:21the top, and padlock here. And I am just going to fill it, and let's select the
08:28color swatches, and we'll fill it with a linear gradient.
08:32And F for Gradient Transform tool. And just by pulling it and moving it and rotating it,
08:42you can get this closer to the conical shape that we want to match the original.
08:49Now the colors are obviously not final yet. They're the same colors that's
08:52defaulted; the previous colors that we used for the ground plane. You may not be
08:56able to see it on your screen, but there's a weird blue beam here.
08:59So what I want to do is to simplify this a little bit; maybe make it a little
09:02more neutral. Pull that down and darken it. Maybe sharpen this by pulling this
09:07color in and desaturating that a little bit.
09:10And again, the effect is pretty quick. Let's bring the Alpha in just a little,
09:15so you don't notice this big corner here. And that's not too bad.
09:19So let's hit F6 to make a second version, drag it to the top, padlock the bottom
09:24one. And now we have two of them in the same space, we don't need that; we want
09:28this to be flipped to match the other side.
09:31So let's go Modify>Transform>Flip Horizontal, and then hit padlock again.
09:36I am going to zoom out just a little bit, and now you can see the bowl of light.
09:43So I can control the opacity of these shafts to make the falloff darker or more
09:48extreme, and I can go in and control the colors and the strength of the light
09:52using only three layers. You can add more layers and I often have.
09:55But this is a very simple way of showing how much can be done with very few
09:59extra additions to a scene.
10:01So I strongly recommend if you have scenes lying around that you are not happy with,
10:05you start playing with them, and see where you might be able to add some of these
10:09layers to see if you can make them feel a little more dramatic, because light
10:13is one of the more important tools in setting the emotional tone of the scene,
10:18along with the color.
10:19So I think we are ready to move on to the next step, which we will some
10:22lens flares.
Collapse this transcript
Creating lens flares
00:00This is a technique that you probably don't want to use too often because it
00:04has a bad reputation: that's the lens flare.
00:06There are times, though, when it's good to be able to do a lens flare, and a
00:10super bright sun in your face is as good a reason as any.
00:14So here is a simple animation that I've created of a lens flare.
00:18Let's go into the scene and I'll show you how this was done.
00:21So again, I'll switch off the layers, so we'll see one by one.
00:23We have our sky or space field;
00:26see a slight radial gradient right in the middle dropping off to dark.
00:29The ground layer or the planet, again, another radial gradient; about four
00:33colors going from dark to light with opacity at the outer edge. And the light
00:38that surrounds the sun, and this is also creating a slight little ring effect around here.
00:43This would be the solar corona or atmosphere, the sun in the middle, with a
00:47yellow color to differentiate it a little bit from that pure white light.
00:50Let's lock these. And then we have the different rings, the gradient rings, that
00:54create the illusion of the lens flare.
00:58So by now I take it that you should know enough to be able to assemble
01:01these various gradients.
01:03I'll just look at them one by one. So this one is, again, slightly squished to
01:07make the shape a little more interesting.
01:09It consists of four colors, so let's look at these one by one so you can see
01:13the settings if you want to recreate this.
01:21The ground layer is, again, very simple. And you can see how I have pulled out the
01:25circle of the gradient to really get a feel of a large planet. And again four
01:30colors, and you can see the color settings here, and the opacity settings. And
01:37then we drop off to 0% at the outer edge of the planet. And of course, you can
01:40change the density of the atmosphere by pulling these back and forth.
01:43I am going to zoom in a little bigger so we can see this better. The light area;
01:51super simple, and that's just two colors. Pure white on the inside, falling off
01:56to complete pure black on the outside at 0%.
01:59Again, you can add more if you want, and that will change the shape of this, but
02:04I kept it as simple as possible. And the sun, and that's just a three color,
02:09radial gradient, 100% for the slightly less deep yellow.
02:13And again, falling off to 0% with a pure white. and then we have the eight radial gradients.
02:21So what I am going to do is show you how I created just one or two of these
02:25gradients for the rings. And let's work against the background.
02:29So I am just going to make sure everything is padlocked, so we can't change anything.
02:34Pick the Oval tool, or O on the keyboard.
02:36Be sure we have Radial gradient selected.
02:38Hold down Shift, and drag.
02:42If you have the color of the stroke color set to red or black or whatever,
02:46you'll see a circle there. Sometimes I like to keep that, because it shows me
02:51the outer edge while I am working, so let's keep it there for now.
02:54Let's select the radial, and again the Gradient Transform tool, and what I am
02:59going to do is create a much more subtle gradient at this point with a lot more colors.
03:03And I think we are going to need about seven, so I am just going to start
03:05clicking and dragging; let's just start making, I think, about seven different colors.
03:09I am not worrying right now about if they are visible or not visible, or
03:13what color they are.
03:14Let's space it a little bit like this.
03:18So I'm going to want the inside, which will be this marker here, to be maybe a deeper
03:23yellow, and I think we can keep him at 0%.
03:27Now we'll move to this one.
03:29Sometimes it's a good idea to click and drag these little markers to make sure
03:32that they are activated.
03:33Flash can be a little bit funny about this sometimes.
03:35So this one I am going to make yellow as well, and let's make it 20%.
03:40This is the point when we begin to see the ring, and you'll see it popping on here.
03:45You might find that it's a good idea to grab the little dragger, and pull it a little closer.
03:50Let's reactivate the Gradient Transform tool. And now the third color over, that's this
03:55one; see it's changed here.
03:57Let's make that a bit deeper, 50% opacity. And I want to make this one a
04:03little more orange; slightly different colors. Now the midpoint, and let's
04:08make this one a brighter yellow, and I am going to take him down to 90%; it's pretty bright.
04:13Then the next one over, 50%. Starting to drop off now as we move towards the
04:19outer edge. It does not to be exactly 50, but I like to be precise for some of
04:23these. And we'll slightly change it to an orange color.
04:26I am making very subtle changes to the different colors. I mean you can play with them;
04:30they don't have to be exactly what I'm doing here.
04:32As long as you're reasonably close, I think you'll be safe.
04:34So now a yellow color for the second last one, I am clicking them to be
04:40absolutely sure this is the one I am working in. And let's bring that down to 20%.
04:44And then the final one, the outside, should be zero.
04:49It's a little too hot, and I think there's something funny going on.
04:52Essentially we should be going from invisible, to the most visible, to the least visible.
04:58So if I click on this, it should be 0, 20, 50, 90, oh, I am missing one.
05:04Something got deleted along the way. I am going to pop one back in; no big deal.
05:07Let's click on that, and bring that up to 50, and this should be 20, and we are starting
05:12to see a more consistent ring shape.
05:16Now it's a little bit thick, a little bit too powerful, so I am going to bring
05:19the 90 down to 80 a little bit.
05:21Let's pull these in a little tighter.
05:24I am going to deplete these a little bit, they are still too dominant, visually.
05:32And I am going to bring the middle one down to 60. So what we are seeing now --
05:38and I am going to pull these apart a little bit, and I'll show you again what
05:41the numbers are. Very careful; when you get these two close together, they can
05:45really begin to overlap and get confusing.
05:47You can really only push these so close before they become a little hard to handle.
05:52Feel free to go in and adjust these settings.
05:55Now I am making a change here in the color field; I am keeping one eye on this
05:59and one eye on that. Very carefully select the next color. Maybe pull it
06:04over a little bit and see what effect that has on the lens flare. It might be a little too hot.
06:08So we are going to desaturate this color by simply moving it to the left.
06:12Little reminder: if you are seeing a slightly different color area, be sure
06:15you have H selected in the Gradient menu. They changed this with the later Flash versions.
06:21And I am going to pull the orange down a little bit.
06:27I think we are looking at something reasonably nice.
06:30So it's 0, 20, 39% opacity. And you see the hues are making slight changes; they
06:38are moving back and forth a little bit.
06:40If you think they are a little too strong around the edge, let's bring them
06:43down a little. And as we are doing this again, we are seeing new little rings appearing.
06:53So let's select this, hit F8, and we'll call it lens flare 1.
07:03And now it's time to get rid of that outer line.
07:05We don't need that anymore; Control+ X. And now this can be positioned.
07:12If you still feel it's too much, because it's now a symbol, now you have access
07:16to the color effect in the Properties panel, and you can make an Alpha on that
07:20and really bring it down. And now you begin to see a very nice subtle effect
07:24with the lens flare.
07:25And so that's the process for making a flare.
07:28I'll show you one more flare just to give you an idea about how I will duplicate it.
07:33So let's copy that and I'll make a new layer, and Control+V to paste it in there.
07:40And this time I am just going to right -click and duplicate the symbol, and
07:43call it lens flare 2. And let's double-click to go inside.
07:49This one will be a little simpler.
07:50I am going to use five colors for the gradient, instead of the seven that we had
07:54here, and spread them out a little bit.
07:56I am going to space them a little differently, too, to show you that you can modify this.
08:00I think as I was making those changes, this deactivated, and this happens with me a lot too.
08:04So let's select the Paint Bucket, and repaint that, and see where they went.
08:11So I am going to select the Paint Bucket again, and deselect the lock fill,
08:15click again, and now you see the thing reappearing.
08:18Again, select the Gradient Transform tool, and as long as this little widget is
08:24active, any changes that we make here will happen there.
08:27So just keep an eye out for that.
08:29You can find yourself doing work in the Color palette that's not happening on the
08:32Stage, so it can be a little bit of a bother.
08:34Now I am going to pull these apart a little bit to change the shape of this.
08:38This is going to be a thicker bead, so that it has a different shape and
08:40appearance, because they are not all going to look the same.
08:42Let's mak the inside a little more visible, maybe 20%, and I am going to make that
08:48more of an orangey color, so all these little beads won't be the same color.
08:52I'll make the second one 40%, close enough, and that will be a lighter orange.
08:59I am going to make this middle one, say, 50%, and let's make it a yellow.
09:04The next one would be falling off now to 20%, that's pretty close, and that
09:10will be a darker yellow.
09:13And the outside, I am going to make also darker yellow, and that's down to zero.
09:18And so now we go back to the outer symbol.
09:21Because I duplicated this from the first symbol, it shares the same opacity
09:25setting, 30%. Now you can bring it up; that's probably going to be too bright.
09:29It looks like a sun.
09:30So it's nice to have the option of bringing this down to something really,
09:34really subtle, like 23, 20, 30%. Something in that region.
09:38Again, snaps come back on, so let's get rid of any snapping. And now you can
09:43simply position the lens flares as you need, and of course, don't be afraid to scale them.
09:49Now you begin to see the process of creating a simple lens flare effect.
09:53I use this very occasionally, when I really want to sell the fact that we're
09:56looking at something incredibly bright, and trick the eye into thinking that they are looking
10:00at something that isn't just a flat symbol on the Stage.
10:03So basically at this point, all you do is repeat the same process.
10:08I would say play with this, go in, try if you can figure out different
10:12variations of these two simple forms, and then deploy them around the Stage as I've done here.
10:17I used a Google Image search to find some nice sample lens flares online.
10:22It's surprisingly difficult to get a nice composition in the rings.
10:25So if you do that, you will find lots of references that you can use as source
10:29material for your own, that you can then modify and build on.
10:32And then once you have got them in place, a simple motion tween; being sure that
10:35you have them all on their own independent layers. And that's it.
Collapse this transcript
Animating ripples
00:00So in the section I am going to show you how to animate a ripple effect
00:04using just gradients.
00:05We are not going to animate any shapes;
00:06we're just going to animate the colors to create a little splash effect.
00:11Obviously, this could be used for many things.
00:13Depending on your scene, you can make an explosion, or magic effect or,
00:17the choice is yours.
00:19And because we're moving colors here, not shapes, you can change the colors of
00:22this ripple effect quite dramatically as you move them.
00:25Let me show you what this looks like on the inside.
00:27We have three keyframes: that's the first one, the second, and that's the third.
00:32And in Outline mode, nothing moves. The only thing that changes is the color of the object.
00:40On frame 1, we have our three colors defining the ripple, going from 0 opacity to
00:46100% white, to 0. And that gives us a nice little white donut effect.
00:52Here it is again, the same again thing, but we've spread it out a little more.
00:55We can control the form of these waves by moving these colors.
00:59Then on the final frame, everything goes to 0.
01:03Again, I can also change by moving these apart.
01:06We can stretch the wave and make the dissipation a little more gentle.
01:10So that's the basic process.
01:13So the next step is to replicate this.
01:15I am just going to delete these layers and we will build one of these from scratch.
01:20So let's make a new layer, and I am just going to make a circle, and set this to a
01:26radial gradient. And let's make a new gradient.
01:31If we use the one that's already there, it might be what we want, it might not.
01:35But I'm just going to create an artificial color gradient from blue to
01:40red, so you can see,
01:42I think, more clearly what's going on here.
01:43So I'm going to pick a gradient that's blue on one side, and maybe bright red on the other.
01:49Select the Oval tool, hold down Shift, and drag, and we have our object.
01:55I am going to delete the line that defines it on the outside. Delete the line.
02:01The other thing that's a bit weird about this is that the center of the object,
02:06this triangle, is off a little bit. So I'm going to pull it back in the middle.
02:10Snap is on, and it's being a bit of brute, so let's switch off any snapping.
02:14I want a really fine control over this.
02:17So under View>Snapping>Snap to Grid goes off. And center that as close as we can.
02:23Okay, so the thing to remember is that this is going to be its own symbol
02:27with its own Timeline.
02:28So let's hit F8 to symbolize it, and call it splash, and just double-click
02:37on that to go inside.
02:38So now we're inside it's external Timeline. So here is the water level and the splash level.
02:44So keep an eye out here to see exactly where we are.
02:48Let's get this thing a little closer to what we want.
02:53So the first stage will be to rotate this horizontal axis to make it a little more vertical.
02:59The reason being, I want to have access to the triangle to offset the size of this.
03:05I'm going to use the Free Transform tool, or Q on the keyboard, to get a
03:11geometry, that's closer to what I want. And let's match that reasonably close
03:15to the perspective of our background here. And so now we have this false color splash area.
03:20So let's go back to the Gradient Transform tool and begin to shape with this thing.
03:25So I'm going to pull that in; that's pretty awful looking.
03:29Let's pull the blue out a little, and by clicking here we'll make a second blue,
03:34and there we can see it.
03:35So now we can pick things that maybe are a little easier on the eye.
03:39This is pretty hot, so I'm going to change this to white, change this to white,
03:46and change the red to white.
03:49And then on the outer end, I'm going to bring the opacity down to 0 of both the
03:55inner and the outer colors.
03:57Sometimes I click on these and nothing happens, so if that happens to you, just
04:01recheck the little color here, and drag it again.
04:05And again, nothing happened, so do it again.
04:10This happens, so you do have to be patient with this tool.
04:12Don't let it get to you; it's not just you.
04:15So okay, that's our first keyframe, and that's pretty much the hard part.
04:19Let's hit F6 on 20, and we will go to the next key. There we go.
04:29So there we have our middle keyframe, and let's make another one.
04:33Hit F6 on frame 40, and I'll hit the Gradient Transform tool of course, and click on
04:40frame 40. And move these out to the very end.
04:44You can see on the Stage it's reacting properly now.
04:48On this one here, we want the middle white to go all the way to 0, and there it goes.
04:54So, let's select the Timeline and go Remove Tween, and go Create Shape Tween.
05:00So what we're seeing happening here is the failure to apply the shape tween. And
05:06the reason why is that later versions of Flash are very helpful, and they have
05:10drawn a blue line around these objects
05:13where none was meant to be.
05:14When I applied Classic Shape Tween by mistake, it transformed them into symbols.
05:21I don't want them as symbol,
05:23I never wanted them as symbols, but Flash thought I did.
05:26So the solution to this is to break them apart again.
05:29Now actually, I'm glad you saw this, because this is the kind of thing that
05:33can really stymie people if they don't know some of the peculiarities of the program.
05:37So let's select the first frame and hit Control+B to break it apart again.
05:42The second frame, we don't want to see blue lines anywhere; Control+B again. And
05:47the third frame is fine;
05:48we're not seeing any blue lines there at all.
05:49Now let's go in here and Remove Tween, and now we apply Create Shape Tween.
05:57Be very careful not to select Classic Tween by mistake; it will not help you.
06:01And now we have our shape tweened ripple.
06:04Let's add F7 here to create a blank frame so it goes completely to white.
06:11And now when we play the outer scene we have our ripple.
06:14Right now it's set to loop, which you might want, or you might just want it to
06:18play once, so we can set that in the Properties panel under Looping.
06:22In order to create the little rain shower effect we saw earlier, let's just
06:27make some empty layers.
06:29Select that, hold down the Alt key, and drag to different points on the Timeline.
06:35And you'll see them all occupying the same space.
06:37You might want that, you might want to be offset, so you might want to hold down
06:41the Shift key and move the Arrow keys, and that is the process by which we would
06:46create a series of overlapping ripples.
06:48You can scale the sizes, you can scale the opacity of these as well,
06:51but that's the process.
06:52So I hope that's helpful in giving you some ideas as to how you can use
06:56gradients in combination with shape tweening to create some nice
07:00animation effects.
Collapse this transcript
Creating a gradient globe
00:00Here we're going to apply a gradient to a very common graphical symbol;
00:04a lot of people at some point need a spinning earth, or a planet.
00:08And it's pretty common to see some really cheesy ones out there in online
00:11graphics and whatnot.
00:12So here's how we take an existing gradient, and this is the identical assets, the
00:17same shapes, with some gradients applied.
00:20So as you can see, it's quite a transformation from one to the other. And
00:23actually we could add even more gradients, but for the purpose of the lecture,
00:26let's keep this simple.
00:27So we're looking at adding maybe about three gradients to the shape of the
00:30sphere itself, and maybe about four or five to the internal shapes of the map.
00:36So I'm going to take you into this quick look-through.
00:39So layer by layer; we have our ocean on top of the map, and then the outer
00:46atmosphere, and then the shade layer.
00:48And we can push these;
00:49these are actually pretty subtle, but we have them in place; now we can do what we like.
00:53The map is basically the entire map of the Earth with a few bits chopped off out
00:57here, and it's masked with a layer that's the same shape as the ocean.
01:01And that basically frames the entire surface.
01:05That also allows us to move the map back and forth if we want to focus
01:10on different areas.
01:12So what I'm going to do is, like I've done before, I'm going to delete some
01:16of the current layers, and recreate them to give you an idea about how this is constructed.
01:20So let me switch off the map layer first.
01:22And we'll just deal with the sphere of the Earth.
01:23Imagine there's no landmass on the Earth, and I'm going to take the beautiful
01:29blue orb and just make it a flat area.
01:32I'll pick a flat color, and fill that.
01:36This is what I consider the base shape of the globe.
01:40And obviously we want this to be a nice radial color.
01:43So we've defaulted back to an earlier gradient that I've used, so let's
01:47just delete all of that.
01:49And what we're looking for here is something reasonably simple.
01:51I think three colors will be plenty.
01:54And let's pick a dark blue, obviously, so that will be the major color.
02:00Our opacity settings are too low;
02:01I'll bring them back up to 100%.
02:02And a quicker way of creating new clones; I'm just going to delete the ones that
02:06are there by dragging off, and I'm clicking here and creating new ones.
02:10So click that to drag, and click this to move.
02:13And now we have three that are pretty much the same.
02:15So now I'm going to, as you can see, lighten that a little bit. Click on this
02:19and lighten that some more; maybe change the color slightly, and now let's fill this area.
02:25And by clicking at different spots you can see how you can start to create
02:29quite different illusions of illumination.
02:31So that's a bit more precise; we'll use the Gradient Transform tool.
02:36And again, snapping is on; let's switch that off. Let's do this.
02:43And I'm going to move this triangle slightly to one center, just to create a
02:47little more interesting shape.
02:48Here I am going to move this down just to darken that out. And we can also, of
02:56course, change the position of the colors by pulling these back and forth.
03:02So let's lock that for now.
03:04Now I'm going to make the horizon, and this is the thing that will create the
03:07illusion of a dropoff. So let's do that.
03:11And we'll again click on the Fill tool. And we have our earlier gradient already
03:16created here, so let's make a different one.
03:18Pull these in. And we want the outer edge to be white.
03:22And I think we'll fade it out to white as well.
03:26This is going to be the inside one; let's set that to 0.
03:30And this one, very subtle, just a little blue tint, just to give a hint of some
03:35kind of color so it's not pure white;
03:37that's kind of boring.
03:38So again, very subtle, bring this down to 10% or 15%, and I'm going to fill that.
03:43And now bear in mind, what we're seeing now is two gradients overlapping.
03:47And you really notice this if I pull this off to one side.
03:50Now you're seeing the outer edge of the white, over here, is now being shown there.
03:56But if we pull this in to match the outline, you get a sense of how pretty
04:02this is going to look.
04:03So the outer edge is 100%;
04:05I'm going to bring that down, let's say, to 60%.
04:07This is too strong, and now you're seeing a great deal more subtlety in it.
04:15And this is completely a matter of your personal taste of course, but this is
04:20not looking too bad.
04:22And now the shade layer, which is also at the moment that default blue that I was using.
04:26So let us make another gradient here.
04:29I want to drop the preceding gradient onto that, so obviously that's not the one
04:33that we want to use.
04:34So let's just reposition this anywhere.
04:38Don't be afraid, like I said, to really make a crazy artificial color if it
04:42helps to see exactly what you're working on.
04:44So this is going to be the shadow layer, and I think we probably should have
04:50four layers for this.
04:51And this inside one is going to be at the darkest, so let's make that one
04:57an interesting color;
04:58I'm going to make it, like, a darker purple.
05:01Not too hot though, so I'm going to pull the color down a lot.
05:07What I'll do, it's easier and quicker, is to click over here, and drag new colors to
05:12this end, and then get rid of the old ones.
05:15You get used to this pretty quick. And let's see.
05:18Now, the outside, that's going to be 0, and now you can really see what we're doing.
05:32The second one out from the right would be about 15.
05:37And then the mid one will be about 40. Okay.
05:42And now, it's a little too purple of course, that's obvious. So let's desaturate
05:48that, and we bring it closer down to a dark blue.
05:54This is less important on the more transparent colors, because they're obviously
05:57more transparent; you can make them almost any color sometimes.
06:01So let's just keep expanding this, and we also have access to this little
06:06triangle to change the shape. We can pull it out, and now we're starting to get
06:10a really nice feel of a planet floating in space.
06:14And that leaves the last aspect, which is the Earth.
06:17Now, I've got a mask which is identical to one of these gradient shapes, so
06:20that's precisely matching the Earth.
06:22Let me go in, and we'll deal with the Earth by itself, because it looks like a
06:27lot of detail here, but it's very deceptive; it's quite simple.
06:30I want to do just one of the continents to give you an idea about how this was done.
06:34Let's pick North America, and this is the base North American shape,
06:38and I put the little southwest desert in as another gradient.
06:41Now, I'm going to duplicate these two layers, and hold down the Alt, Option key,
06:46and just drag them up here.
06:49And I'm going to wipe the color, so I'm just going to give them a boring flat green.
07:00Same on this gradient thing here. Okay.
07:05So here we have North America.
07:06How do we make this more interesting?
07:08Well, let's just pick our fill again, and we want a radial, and I think three
07:13colors will be enough.
07:14And again, I'm going to just delete some of these.
07:17Pick a nicer green, and let's make it 100%;
07:23all these colors should be 100% for the base.
07:25Obviously, you don't want to see through the land to the sea beneath. Okay.
07:31So that gives us three colors to play with.
07:33And we can select the entire area and click on -- actually, we would probably
07:38just be able to access the primary landmass, which will be the shape.
07:43And again, it's popped off my radial.
07:44So let's go to Radial gradient again, and refill that, and hopefully this time it
07:50will take, I'll fill the entire area.
07:52So I just clicked on the frame, click on the Fill tool, and now that's it.
07:57So now when I select our tool here, we can begin to position this.
08:04And it depends where you want the darker areas to go.
08:07Bear in mind that the sun is coming from this way, so maybe you want your
08:10brighter stronger colors out here, and darker ones over there. So let's try that.
08:15And this is going to be the center of the tool, don't forget, so we will be
08:20radiating out from here.
08:21So what I'm going to do, in this case, is pull that to there so that the darker
08:27will be center, so let's do that.
08:30Darken the middle color, and if it pops off like that and goes live with all the
08:36little dots on it, again, just click the Gradient Transform tool.
08:39And as you can see, it's a little too dark, so I'm going to pull the darker
08:43closer to the center.
08:44And if it does not fit in the curve, just expand this; pull this in.
08:51
08:54And we have two colors here that are pretty much the same so I'm going to alter one.
08:59And it's very good if you can change from one kind of green to another. You'll
09:03find it gives you a much more lively gradient.
09:06And I think that our dark is a little too dark, so sometimes if I want to
09:09brighten it up, I'll hit the midpoint, delete that, and drag this to where the
09:14other one used to be.
09:15It's a quick and dirty way of making a change.
09:18Next thing to do is to drop in the desert for the Southwest.
09:21I don't think I need to worry about having all these little Baffin Islands up
09:26here; let's get rid of them.
09:28I'm just going to work on this area here. And click on the Fill, pick Radial, and
09:35this time I want to make a desert, like the American Southwest.
09:38So let's go to something that's going to be a yellow value.
09:41And again, simpler just to drag these guys off, make a new one, and let's make
09:48this one really simple.
09:49So I'm just going to have the outside go to 0.
09:51And makes no sense right now because it's filling the entire map, so let's grab
09:56our F key, our Gradient Transform tool, and pull this in.
10:02And now we can pop it into roughly the area of the country that's desert.
10:06I'm feeling snap on again, so I have to switch that off.
10:10Let's probably make the desert area not quite so bright; we want this to be subtle.
10:17I'm going to pull that in a bit more. And this is the kind of point when I
10:20usually need to make an intermediate color, and then drag it so that the
10:24dropoff is a little more subtle.
10:26Let's go in a bit tighter; have a look at this.
10:28I know there's not desert up in San Francisco, so let's pull this down a little bit.
10:34Okay.
10:34I'm going to pull the core in, and then basically move these around until I get
10:39something that has a much more natural feeling of dropoff.
10:43And so this is the basic process that I've used to create these maps.
10:46And to look at the finished product, which has obviously a great deal more subtlety.
10:50You see, I've got some little blue tints in Alaska, and there's a layer for like
10:55the entire Sahara, and Arabia.
10:58There's the one that I've just done now; you can see how it's a little,
11:00maybe, too aggressive.
11:01Now that you see the process, though, you should easily be able to see how this was done.
11:05We're dealing with, like, a base gradient, and whatever additional layers you
11:10want on top of that.
11:12You could add another layer for the rainforest with a darker green, and with any of these maps,
11:18it's entirely a matter of your personal preference as to how many layers you want to add.
11:23Bear in mind that the more layers you add, the slower a SWF file is going to work;
11:26that's my only warning on that.
11:28So when we pull out to the main Stage, here's our globe, and here is the
11:33before and the after.
11:35So keep this in mind as something that you might be able to use to add a little
11:38bit of extra heft to your graphics.
Collapse this transcript
Creating a gradient bottle
00:00Up until now I've shown you how to apply gradients to objects that were fairly
00:04simple in shape, and it's true that we are limited to the linear, and the radial
00:08gradients which can be squished into elliptical, or egg shapes.
00:12It is possible, though, to apply them to objects with a slightly more varied form.
00:16So here is a bottle. We still, off course, are constrained with how
00:20aggressively we can apply the gradient,
00:22but let me show you how this thing was achieved.
00:24I am going to zoom in.
00:27Let's frame this little bit better, and we're just going to look at the bottle by itself.
00:33Now sometimes when I work with gradients like this I like to put in a
00:37background color, which I got it out as a Guide layer, but I use it to put in
00:41like a slab of color, and you can make that color whatever you like. It can be
00:45very dark if you want to check the object against the different illumination,
00:50and so that's pretty handy for me.
00:52So I am going to switch off these layers, and we will go through them one at a time.
00:55We have the inner base, and that's a shadow just for the footprint of the bottle,
01:00on top of that, a simple line outline so you might want to leave this out even,
01:03but I have put it in just so that it pops the silhouette out strongly.
01:06There is a top light; this is a linear gradient.
01:09We could make out a radial I guess, but I just thought let's put a linear in
01:13just to have something a little bit different in form, and it's hitting -- the brightest
01:16point of the gradient is at the shoulders of the bottle. And then we have a
01:22very simple layer; that's just a regular -- no gradients, just different shapes and
01:26at different opacities.
01:28So this one here is a little more transparent than this one, and as you can see
01:32there is a very bright highlight right at the top of the bottle.
01:36And then we have another gradient layer; that's just the basic highlight. And a
01:41shadow one. And if we look at these one by one by themselves, there's the edges,
01:46there is the highlight, the simple shapes, the linear gradient, the outline, and the
01:55shadow for the bottom. And they all work together to create this.
01:58Now it took me quite a while playing around with different settings.
02:01I'd say it took about an hour and a half of playing with the different layers to
02:06get something that I was really happy with.
02:08But the beauty of it is that once you get it there, then you're able to
02:11switch these on and off. So you might think later on, I don't need the
02:14outline, or you might want to move the outline to an upper level to make it a
02:18little more graphical.
02:19You can move it all the way to the bottom if you want to push it back. You
02:22can even switch it off.
02:23So it's nice to have a file in this form because you have complete control
02:28now over the object.
02:30A word of warning: use as few gradient layers as you think you need. If you
02:33use too many of them you will start slowing down the program. There is no reason
02:36to go crazy with them, so just use what's appropriate, and that's about it.
02:40Very quickly, I am going to just show you how this was put together, and the
02:43easiest way to do that is simply to delete these layers and reconstruct them, so
02:49that's what I will do now.
02:50So I am going to leave the outline layer, there is no reason to redo that. If
02:56you don't have access to the Exercise files, then it should be easy enough to do
02:59a screenshot, or copy this basic shape for yourself.
03:03It's a very simple form.
03:04So there is the Outline layer, and here is the Hilites layer.
03:08I am going to darken that outline so you can see a little better; there we go.
03:15So those are the two layers you might have to reconstruct yourself if you don't
03:17have access to the Exercise files.
03:20So what I am going to do now is take all the gradient layers, and just simply
03:24paint them with the Ink Bottle tool. And I'm going to delete the interior.
03:41And so now we should have the same bottle, but with all of the gradients purged.
03:45I'm going to leave the footprint, the little shadow at the bottom, it's extremely simple.
03:51It's just a two color gradient; if I click on it you will see.
03:54The top light is still there; I want to get rid it of that too.
04:02So there is our footprint.
04:03It's just a gradient going from black at this point, at 10% Alpha or transparency,
04:11and it's a grayish color, medium gray at the outside, at 0%. That's it. Very
04:16simple to make that.
04:17The ones that are little more trickier are the outlines.
04:21So the top light was the next layer and that was a linear gradient. So I want
04:26to use our Fill tool, and select Linear gradient. And I think we want this to
04:33have a few more colors.
04:34Two isn't enough; I think we had originally four in there. So just move these to
04:38where we want them to be.
04:45Very easy to make these disappear by accident if you click them and just drag
04:48off to this field here.
04:50So it is a little touchy.
04:52So this one, I am going to make about a medium gray. Let's paint it in first so
04:57we can actually see what we are doing on the Stage.
04:59For those who've used an older version of Flash, they've now nested the Ink
05:03Bottle tool and the Paint Bucket tool under the same icon, and you have to select
05:07from one to the other. It's very easy to confuse them; they look very similar,
05:11and I keep getting them mixed up. There we go.
05:13And now we use the Gradient Transform tool to click here, and I'm going to
05:18pull this in, and rotate it, and stretch it so that these two blue lines hit the
05:24top and the bottom of the bottle. And now our gradient is going to be applied
05:28exactly the way we want it, and that will be pretty sharp.
05:31The problem now is you will get confused; is this gray this one? Is this gray this one?
05:36And I think I want this to be top.
05:38So let's rotate it. There we go, and if you get confused, simply pick a strange color.
05:45Now you can orient yourself toward the gradient.
05:48So we want this to be the top color.
05:50I want to make it a medium gray; make that about 10%. Then the next one; this is
05:57going to be approximately here.
05:58That was the highlight of the middle of the bottle; want that to be white, and
06:03actually I am going to bring it down to 0% so that we fade out to that white.
06:08And the next one, I think we also want to be white, and I am going to brighten
06:15that to 30%. And the bottom one, and I am going to make that one darker because we
06:21are going to more of a dark shadow towards the bottom, and let's make that 10%.
06:27And it's very hard to see what we are doing of course because we are against
06:30this white gray background.
06:31This is where the reference color background comes in very handy. And now you can
06:34see with this white area, it's a little lower than I want.
06:36I want it here, so let's move it up a bit. And by pushing and pulling these tabs
06:44I can correct it, so that's exactly what I want.
06:47So now I am going to remove that little red outline, lock that. And we have our
06:54Outline layer; that's fine. We have our Hilites layer; that's easy. The next gradient
07:00layer to worry about is the radial.
07:02So let's switch off these for now. The radial is the bright spot that was
07:06right here, so that will be a radial gradient. And I think that's only going to be three colors,
07:13so let's get rid of one these. And I am going to make this one 10%. It's not
07:18going to be very, very strong; just enough to hint it.
07:25And now 70; this is in the middle. This will be the really hot part, and
07:31that will be white too.
07:32And all I want to do is put a little color on the dropoff.
07:37This part here will be a little, slight color, and we are going to fade all the
07:43way out to a light gray at, say, 5%.
07:46When we apply it, we see it pops down arbitrarily, so let's position them. And
07:58we use these familiar tools now to rotate the gradient until it makes a spot
08:04that's reasonably close to hitting that curved upper part of the bottle.
08:09I am going to make it much bigger, so now it completely encircles the bottle.
08:18If you think this is too big, you can also adjust the size in here by pulling this in.
08:22That looks good, so let's padlock that. And then I think we need to get rid of
08:26the red line; double-click on that line, Control+X to get rid of that. And now we
08:34have the final one, the edges.
08:35And that was the one that had the dark outer area of the bottle.
08:39So again, let's go to the Fill tool.
08:41That's also going to be a radial gradient, and let's also keep it reasonably simple.
08:46I think three colors would be fine for this. The darker will be on the outside,
08:50and remember that the outside -- if you have your color palette docked here then I
08:54always remember it as the outside being at the edge of my screen here.
08:57So the outer edge I am going to make black, and I will set that to 20%. And you
09:03will notice I am keeping these opacities fairly subtle. You can beef them up
09:09if you think you need something a little stronger, but I find subtlety works
09:13really well with this.
09:14This one I am going to make gray, and let's make that 10%. And the middle value,
09:22we will keep a lightish gray, and I am going to set that to 0.
09:28See Paint Bucket tool; there it is. Okay.
09:31And now we go to the Gradient Transform tool, and now let's pull it in, and now
09:37you can see our gradient.
09:38Now it's simply a question of pulling the gradient until we can best match this bottle.
09:44So I find at this point, let's just activate everything else.
09:48And we will switch off the outline, and I think there is another layer we are
09:53seeing there in red. Yeah, that red is kind of distracting now, and that's the
09:56red on the final layer, so I want to double-click that to get rid of it. We
10:00don't need it anymore.
10:01And now we can really see, if we click on the top gradient on the Transform tool
10:05as we move it around, you can see the effect that we are having on the bottle.
10:13So I think that's getting us very, very close, and then of course we have our
10:17Outline layer. And that is the basic process that I use when I want to create the
10:22illusion of glass. And I think we are ready to go on to the next step.
Collapse this transcript
Applying gradients to a character's eye
00:00In the previous section I showed you how you could remove the dreaded flashy
00:05effect from a background.
00:07In this section I am going to show you how you can remove it from a character,
00:10as long as your character is reasonably simple and not too angular.
00:14You notice this guy has an egg head and his eyes are nice and round. He is not square.
00:17And this plays to the strength of the gradient tool.
00:21With that in mind let's take a quick look.
00:24So I am going to enter the head of the character and go in a bit tighter.
00:29And as you can see we have gradients all over him, and not too many.
00:33He really is deceptively simple.
00:36So let's go back onto the main Stage.
00:38I am going to hide the other guy.
00:42I'm going to going to go into Mr.
00:43Flat and show you some tricks that you can apply.
00:46So the one thing, if you only do one thing, and I think this could probably be
00:50applied to any character, is you can do something about these dead eyes.
00:54So let's go into the pupil.
00:59We have three layers.
01:00The outer layer is the blue, the middle one is the black, and the top one is the highlight.
01:06So let's padlock these.
01:08I am going to make new layers, and we are going to make a new version of each of these objects.
01:14So I am going to select the Circle tool, select Radial gradients, and we are going
01:20to go from white to white.
01:21So let's do that right now in here: white on the inside, white on the outside.
01:26The inner color will be 100%, the outer edge will go to 0 opacity.
01:31The Circle tool is selected. Hold down Shift, and drag. And hard to see it right now,
01:37so let's hide the old one, and we will drag the new one into place.
01:40It's a little bit tight,
01:42so let's give him a bit more room.
01:44I am going to select the Gradient Transform tool, or F on the keyboard.
01:47Pull this in a little bit.
01:48And I am going to get a bit more room for that little dropoff, and there you
01:53see the difference.
01:54Now we will do the same thing for the black of the eye.
01:57Select the layer beneath, select the Circle tool, we're in Radial gradients.
02:03Select one of the whites, and let's go to black this time; black on the
02:07inside, black on the outside.
02:10I am moving these here just to make sure that the color took. And on Layer 5, or
02:15the second layer from the top, hold down Shift, and drag. And to see this properly,
02:20let's hide the other black layer.
02:22It's not as blurry as I'd like.
02:24So let's select that, and we see what the problem is: we just didn't have that in tight enough.
02:29So there we go.
02:30And now we have the black and the white.
02:33You notice also if you select these that there's little line appearing
02:37around them out here.
02:38That's because if you make any of these shapes they tend to have some kind of
02:43line edge built in by default, which you can see if I use the Ink Bottle
02:48tool, and repaint it.
02:50So I like to get rid of them.
02:51Just click on the outside, or double- click to get rid of the entire thing.
02:54Hit Delete there and there. It just makes it a little bit cleaner.
02:59And then the final thing will be to make the blue of the eye.
03:02So I want to pull down the bottom layer, which was the original blue.
03:05Hold down the Alt, Option key, drag to the empty layer, select, and let's go
03:12to Radial gradient.
03:14We want to have a nice blue color on the outside.
03:19Blue on the inside. And we are seeing it already.
03:22Let's go to Gradient Transform tool so we can really see what we are doing here.
03:26I am going to the pull is 0 in a little bit.
03:29The reason why you're not seeing the dropoff properly;
03:32I've still got the bottom layer visible.
03:34We can hide that now. Good!
03:35So let's pull that out, and let's add a little bit of extra interest here.
03:41We will click to add an extra color, go to the middle one, and let's make this darker.
03:46You can see how easy it is to add a little bit of dimension to that eye.
03:51If you want to harden the outer line, you just close to gap between it and the
03:55outer alpha, this 0 color here. But I like to give it a little bit of dropoff. So that's it.
04:02Don't forget: delete the old reference layers;
04:04you won't need them again.
04:09An incredibly simple thing to do, and looking at it now you probably would want
04:13to blur the white to highlight it a little bit.
04:16I am going to hit Q, Free Transform tool.
04:19Bring that down a little bit, pull in the white just to extend the blur around that.
04:26It is, after all, a little bead of light.
04:28You could add more of them if you wanted.
04:29There is no end to where you could go with this.
04:31So then the other thing I really would want to do would be to add a gradient to
04:36the white of the eye, and that's the eye left layer.
04:37I am going to select that, hit the Fill tool again, and select Radial gradient.
04:46And let's drop the last gradient we were working on;
04:50you may have a different gradient. You're going to have to change it anyway.
04:53So let's go to the gradient and bring the edge back up to 100% so we can see it.
04:59Give it a weird color so you can really get a high contrast.
05:02This won't be the color you're going to use, but you really probably will want
05:05to see, you know, what the effect that your changes are having on the object.
05:10I like this outer ellipse to match as closely as I can, but you just want to
05:15make sure that if you have any transparencies on this that they don't affect the
05:20cut into the outside edge of the eye.
05:22This triangle here; by moving that triangle you can offset the shape of the
05:28gradient, and it can help you to fit the gradient to the shape of the eye.
05:32I am going to pull this in a little more, and that is as close as you're going to get.
05:38So now that we've done that we can go to a more natural color.
05:42When I have something like this, if I get this color to be more or less what I want --
05:47I think a little tint will be nicer than that, just a little; not much.
05:51Then that's a pretty harsh dropoff,
05:55so let's make it a little more subtle.
05:57I want to make a new color there, and just drag it. There we go.
06:02And that's created a pretty nice feeling of volume.
06:07If you think that's a little too heavy;
06:10his eyes are a little too buggy, just go into that outside color and pull it up a little bit.
06:15You have great control over this.
06:17So now we are out, and the next step will be to add a new layer that describes
06:23the shadow that's going to surround the eye here.
06:26So let's add that new layer, and we will call it eye left shadow.
06:33So the quickest way to do it; we'll just duplicate the eye layer itself. And
06:39let's get the padlock off.
06:41And let's just give it a really fake color; it's black, so we can see exactly where it is.
06:45Select it again. Hit Q; Free Transform tool on the keyboard. Maybe select
06:51it again, and then drag. And right now we're not worrying about the color.
06:58We are just trying to get the shape to match.
07:04Now let's apply that color again.
07:06So Color Bottle>Radial gradient. And again strip this down; make it as simple as
07:14we can. Maybe red on one end; I am going to pick a phony color on the other. Oops!
07:20I hit the wrong one. Control+Z; Paint Bottle tool.
07:24Paint that in there.
07:27Now I am going to use the Gradient Transform tool to try to match this again to the eye.
07:32I could've copied eye gradient onto this. It might have been a bit quicker,
07:36but I like to show you, too, exactly how I can build these from scratch.
07:40I don't have to copy and paste something that's pre-existing to match this,
07:44and neither do you.
07:45So don't be afraid of making one of these from scratch and fitting it in.
07:48If you don't like it, you can just make another one.
07:51Don't be afraid of working, as I am here, in false color.
07:54The beauty of working in false color is that you can really see where your
07:57colors are going inside the restrictions of the shapes that you're building.
08:01This is looking pretty good.
08:03So now that I've got that, let's put some real colors on here.
08:05Let's say I like this color here, this dark coffee color, and I want to match it there.
08:10It's very simple, just click there, make a new one, drag the blue away, copy
08:15this over, and drag the opacity down to 0. And you will have something reasonably close.
08:20Now if you think that dropoff isn't working, maybe you can pull the triangle up to
08:24fit that to the curve.
08:26That might mess something else up. You can expand it.
08:29You see what I'm doing here?
08:30I am hitting the outside end of my geometrical shape, and I don't want that to
08:36be much bigger than it already is.
08:38So I am going to just pull it up, try to fit it inside, and pull it back in.
08:43Sometimes, if you want to fit it again, go to Outline mode, and that way you can
08:46see, oh, I've spread out outside the blue.
08:49You want to keep this shape inside the line of your shape, your actual color, so
08:56that way any modifications are contained. So there we go.
09:00There is still a little bit of hard edge there.
09:02So it's possible to extend that outline a little bit.
09:07If it buys you a little more room, that's not going to mess anything up.
09:11Go back into this, maybe pull the triangle down.
09:14You can also rein in these colors a little bit.
09:16Maybe add another one.
09:19Change the falloff.
09:20And this is at 100%;
09:22maybe you want to make a bit more subtle.
09:24Go from 75%, to 30%, to 20%.
09:28I am going to make the dark a little lower even; maybe 55. That's nicer.
09:33So now we have a much more natural little shadow effect that defines the hollow of the eye socket.
09:39There's more layers you can add of course.
09:41You can add as many as you think you can handle, but it's best not to go too
09:45crazy if you're doing this for the first time.
09:48The other thing that I would do next would be simply to take the eye layer, and to
09:52copy it onto the other side. And then we can proceed, and move on to adding a
09:57few gradients to the skull, the nose, and the ears, and round off the
10:00character.
Collapse this transcript
Applying gradients to a character's skull
00:00Moving on from the previous section, we had the eyes, and the eyeball, and the
00:05shadow area around the eye all converted to these nice gradients.
00:08And what I've done in the meantime is I have taken the eyeball, and the shadow,
00:15and simply flipped it to cover his physical right side.
00:18But the next step would be to do the same process that we've just done, but to
00:21apply it to the skull. And the highlight and the shadow area; that we'll need two
00:26layers. And we'll do the area around the mouth for the stubble.
00:30And if time permitting, we'll do some of the business on the ears and the nose.
00:34So let's double-click on the flat head; I'm going to move this up a little bit to make some room.
00:40And let's look at the skull.
00:43So what I want to do is to fill this with another radial gradient.
00:47Let's use a simple one; two colors. And I want them both to be the same color
00:52as the skin color here.
00:53So I'm going to double-click, and we have the Ink dropper tool;
00:58We'll click on that.
00:59Now it still looks different because the opacity is down, so let's pull that up.
01:02And actually, let's make the outer one a little brighter.
01:06So I'm going to make a duplicate of that, and get rid of the other color
01:10that used to be there.
01:11Move this to here, and we will increase the brightness.
01:15And now with the Fill tool, nothing happened.
01:19And I might think that might be because we have this Lock Fill, or not. Let's try again.
01:24This happens sometimes with Flash, even with those settings.
01:27So let's just click on that with the Transform tool, and that will allow us to go in
01:31and position this.
01:33Now I'm going to rotate it until we get something that begins to approximate an
01:38actual highlight layer.
01:42And it might help if we switch the hair off,
01:44because it's kind of hiding things a little bit.
01:46So I'm going to hide that top hair layer,
01:53and again, just using these tools, I'm
01:55going to match the head as best I can.
01:56I'm going to use this Triangle tool to push the geometry a little more into an
02:01oval shape, like his head. And now we have that.
02:03So I think we need one more layer.
02:05If you look here, we have like a shadow area that works along with the highlight
02:09area, and that creates a slightly more complicated lighting effect.
02:13So I'm going to make a new layer.
02:15Hold down the Alt or Option key, and drag the skull layer.
02:18I'm going to padlock the original skull.
02:20We have a duplicate on top. And this time I'm going to make the outer layer the
02:25dark one, and the inner layer will be transparent.
02:28So let's go to the outer layer and make it dark. And I'm going to change
02:33the color a little bit.
02:35I'm going to make it like a dark green, but desaturated; not a very hot green. And
02:39let's bring the opacity down. And on the inner color;
02:44I'm bringing that down all the way to zero.
02:46And we can change some of these inner settings here.
02:51It helps a lot if this isn't in the same position, and isn't the same geometry
02:56as the other one, because that's not how light works.
02:59You might have different light sources.
03:01The shadow will be different from the highlight, for example.
03:04Basically, experiment with the position of these colors, and the strength of the
03:09colors, by playing with the Transparency settings.
03:13In this case, I'm using a slightly green shadow, because applying a green shadow
03:17to a reddish skin is using a complementary color, which helps to tone down the
03:21hotness of that color.
03:23I find that helps to give you a really nice effect.
03:26But again, don't go too crazy with the colors; don't make it too warm.
03:30As you can see, now we're having a pretty interesting effect with the dark on one
03:35side, breaking away, a little highlight spot there.
03:38Dark up here under the hair, and then we're moving right back down into the bright spot.
03:42And with the hair attached, it's looking pretty good now.
03:45Beneath the mouth layer we're going to make a stubble, and so that will be
03:50a spherical gradient.
03:52So we already have a gradient of sorts here.
03:54We probably will want it to fade away on the outside, so the outside will be a
03:59zero, and the inside will be about like that.
04:02Let's see what that looks like. Not very good.
04:06Hit Control+Z. I want to make it a perfect circle.
04:11That's better, and let's get rid of that line, if you see a line there.
04:16And I'm going to use the Regular Transform tool now, the Free Transform tool Q,
04:22and see if we can pull this into a close approximation of that mouth shape.
04:28Okay, now we can shape this a bit better, and this is its shape,
04:42if we can increase the area of the blur. And let's look at this with the
04:47Gradient Transform tool. Ah!
04:49See, it's off center.
04:51This little triangle guy should be in the middle.
04:54Our previous gradient was off center, so the new gradient maps on to that.
04:58So let's go back to the Free Transform tool, and now we're actually changing the shape itself.
05:05And that's getting us fairly close.
05:09It's a little bit too much green in this, because I used green in the last one.
05:12Let's take it just down to regular old gray, and I am going to pull that a bit further down.
05:18Not too bad.
05:19And I'm going to lighten it a bit more;
05:20it's still a little too dark. Okay.
05:28It's pretty easy.
05:28Now we'll do the same process with the nose.
05:36The nose isn'ta symbol;
05:37I want to symbolize that. F8, call it nose.
05:40I want to do all this business inside its own symbol, nested;
05:45it it will save some space on the outer Timeline.
05:48So again, let's just copy, Alt+Drag. And this time let's steal some of
05:53our earlier gradients.
05:54We have two nice gradients that we made for the skull.
05:58The first one was this light one, so I'm going to use the Ink Dropper, grab
06:02that. And then go back into the nose, and we have the second layer copied using
06:10the Alt or Option key.
06:11Let's use the Dropper again, and using the Gradient Transform tool -- it's very
06:17easy with these very subtle gradients to lose them, so you end up having to grab
06:21the Gradient Transform tool to find out exactly where they went.
06:25I'm simply dragging that until you get a nice little highlight across the nose.
06:33Even if we left it at that, it's starting to look pretty good, but let's put the
06:37shadow in as well; finish it.
06:40Let's hide these, so you can see what we did.
06:42This was the shadow layer for the skull.
06:44That's a nice color too.
06:45So let's grab that with the Ink Dropper, and go back into the nose.
06:51Let's make a new layer; Alt or Option+Drag the original one.
06:57And using the, again, same process; I'm going to drop it in there.
07:00I'm not sure if it took that time.
07:02So let's click on Gradient Transform again. I'm not seeing it.
07:07Something went wrong there.
07:08Yeah, see, I'm still in Solid Color mode.
07:11So let's go back out.
07:12This happens sometimes; whether it's me clicking wrong, or Flash getting
07:18cranky, I never know.
07:20The Eyedropper again, and there is our gradient, back into the nose, and into
07:29that top layer we paint the gradient.
07:32It's kind of hard to see, so let's make sure we have it in the right place.
07:36It's so big, we can't see it.
07:38We have to scale that thing down,
07:39because it was sized to the size of the head,
07:43so we have to really reduce it to match the nose now.
07:46Let's go in a little closer.
07:49And as long as it doesn't drown out the highlight, then you'll have the
08:01highlight layer and the shadow layer both working in tandem.
08:10And that's now giving you a real feeling of dimensionality.
08:13That's because there is an actual layer in there that I added. But again, as I
08:17said before, there is no limit to the number of layers you can add.
08:19If you're seeing a little more subtlety in this area here. You could add a third
08:22gradient along the eye, and the same process can be repeated for the ears as was
08:28applied to the nose. It's that simple.
08:31It was simply the addition of two, sometimes a third, gradient to get this
08:35rounding effect, which gives the character his dimensionality.
08:38If you did get lost, simply delete the gradient layer, do it over. With that
08:42I think you have a good basis to build on to hopefully give the Flash figures a
08:47little more dimension.
Collapse this transcript
2. Shape Tweening
Tweening a circle to a square
00:00One of my favorite techniques in Flash is shape tweening, and I think a lot of
00:05people don't use it enough, because it has a little bit of a bad reputation; it
00:08can be a little bit of flaky sometimes.
00:10So let me show you a simple animation that I have created of the sphere
00:14changing into the square. And I will show you how I did it, and how I worked
00:18around some of the problems.
00:19So the trick with really coaxing Flash to be stable in shape tweening is to use
00:24shape hints. And in this case if I hit Modify>Shape>Add Shape Hint, or
00:30Control+Shift+H, you will see my existing hints.
00:32It's added new one by doing that, which I didn't need, so I right-click on
00:36this C, and go Remove Hint.
00:38They're labeled A through Z, and you can apply them to a given point. And I've
00:42put the A's kind of at the top of the sphere, and at the two corners of the square,
00:47and that encourages the correct tweening.
00:49Now, if I remove them, you will see why I applied them. Right-click, Remove All
00:52Hints, and it's spinning. This point here, instead of tweening to this corner, is
00:58now spinning around clockwise, and we don't obviously want that. So again
01:03Control+Shift+H adds the first letter, and I apply them one at a time. I will do the
01:08A first, and then the B.
01:10You can see it's locked in the corner. and I just keep applying them until I get what I want.
01:15You will find you'll get different results depending on where you put them, or
01:20what sequence you put them in.
01:22A quick note on this: you will find with shape hints, if you use them for
01:26long enough, at some point, Flash is going to crash. Because you will create a
01:30hint combination that it simply doesn't know what to do with. It freaks out, and it crashes.
01:35So before you start applying hints, anytime no matter how simple, even if
01:39it's only one shape hint, back up your file first. Then you can crash, and then reload.
01:44The other thing; sometimes I hit the shortcut Control+Shift+H. The hint came up;
01:48sometimes it doesn't.
01:49I haven't had this problem too often, but when it does, just go back to the menu, and
01:54go Modify>Shape>Add Shape Hint, and that will reactivate the shortcut key.
01:59I haven't had that happened yet in CS5.5, the latest version, so maybe it's fixed.
02:04So that's that; that's the basic demonstratio. Not very exciting.
02:07So let me show you a more interesting application of the system, and this is
02:12animating the very same transition with giving it a little bit of life, and now
02:16you can see how neat that is.
02:18You can do these effects only in shape tweening, very hard to do them in motion
02:22tweening, even with the new features like bones and things.
02:25This really is the most powerful, flexible way to mutate one form into another.
02:31Right now, we're using very primitive forms, but you can use different shapes and
02:35different layers. This could be a mouth, for example, talking. You could have
02:39teeth inside it massed out, and we will do some of that later on in the course.
02:44So important that you follow along with this I think.
02:47So let's just delete these.
02:49I am going to recreate this from scratch so you can follow along.
02:52I am going to clear the keyframes, and now we have -- on Frame 1 just make a sphere,
02:57and on Frame 50 a square, and I am going to make a new layer.
03:01Now my layer says Layer 4; earlier it's a Layer 3 when I did this before.
03:06Don't worry; it's a default setting.
03:08If you've been playing around with Flash, it might remember your layer
03:10history differently.
03:12It doesn't matter, you can call it whatever you like.
03:13I am going to call it as Layer 2, and I am going to put some notes in here ,and
03:17hit F7 to make some empty keyframes.
03:19So what I like to do is use this as a note system for myself.
03:23If you use traditional animation you will be used to using thumbnails, or making
03:26little notes about where you want your main actions to go.
03:29So I want this to be held as a sphere maybe for the first 10 frames, and I
03:33think I will squish him on Frame 20. And I sometimes put notes here.
03:39So, for example, I will use the Label panel, call it Squash, and on Frame 26 that
03:48will be the jump, and on Frame 28, that will be the high point.
03:52So I will just drop hp in there for high point.
03:56On Frame 34, hit F7 again, and that will be when it begins to come down.
04:01On Frame 36, that will be the impact frame, so I will just drop a little impact
04:05on it in there. And this is just a temporary little note system to help you keep
04:10track of where all your frames are.
04:11It's very handy, when you have a complex scene, to be able to have a visible cue
04:16as to what goes where. I like this a lot.
04:18It's one of the benefits of a horizontal Timeline.
04:20So at 42 will be kind of like a little bounce up from the squash, and Frame 50 will be that.
04:27So you don't have to do this if you don't want to, but I find it very useful. And
04:31now I am just going to hit F6 to duplicate the sphere onto a second key, and
04:36we'll start animating soon.
04:38So he turns into a square I think around Frame 28.
04:42So I am going to just grab this, hold down the Alt or Option key to copy and
04:46drag back to there, and I will just start working on it.
04:49So this is going to be the squash frame.
04:51Let's select the Free Transform tool, or hit Q on your keyboard, and let's just squash it.
04:56I am going to be pretty fast, quick, and dirty about this.
05:00Sometimes it's good to be careful, and sometimes it's good to be a little lposer.
05:04So let's just have a bit of fun.
05:07If you feel like you're getting off-center, you might want to use the guides to guide you.
05:11It's Control+Shift+Alt+R will select the guides. So if you think you are getting
05:16off-center you might want to pop one of them down there. And then
05:19Control+Shift+Alt+R gets rid of that, because if you free up your screen, it helps to keep
05:24the center of mass right.
05:26Don't activate shape tweening yet.
05:28You want to be able to see the snaps from one key into the other.
05:32So make sure that you are not making the volumes lose their mass. And this will
05:37be the high; he is going to be jumping high into the air on this one.
05:39So I am holding down Shift, and moving the Arrow keys. It helps to move him
05:42in bigger increments.
05:45On this frame, Frame 34, I would still have him high. So I am going to hit F6,
05:50and just move him down a little bit, and he is starting to drag. And we'll
05:56impact him on Frame 36.
05:58Let's put-in another ruler; Control+Shift+ Alt+R for the ground plane. So that's
06:06when he starts there.
06:09Let me get rid of them again;
06:09Control+Shift+Alt+R, get rid of the ruler so now I can match the ground plane when
06:16he hits it. And squish him a little bit.
06:25As you can see, when I click and drag, I am just moving one area, if you hold
06:28down the Alt key, it will drag both together; it might save a little bit of time.
06:32So he bumps into the ground here, and then, we'll have him bounce up a little
06:39bit before he settles. So I am going to hold down the Alt or Option key. Drag
06:42Frame 50, and this is very subtle; holding the Alt key in.
06:48So now, I've got to play it with just the keyframes, what we used to call a pose test; that's it.
06:52So I might want to push that impact a little bit.
07:02Now we can apply shape tweens and see what happens.
07:06At this point, there is a feature in Flash I want to warn you about. I have
07:09hit this before. It's a new helpful feature that isn't very helpful.
07:14If I was to right-click on this and say Create Classic Tween, it will convert
07:20everything into, like, a symbol or a group, and it causes problems.
07:25So be very careful when you do this that you create shape tween, and not classic
07:29tween. And if you do create classic tween, and you see a little blue line around
07:34everything, you have to select each symbol and hit Control+B to break them back apart.
07:39You want, when you click on these frames, to see the little dots.
07:42If you see a blue line around them, it's not going to work.
07:45What you want to see is nice green color with that solid arrow.
07:49If you see dots in there, it means you've got a symbol, or a group, or something
07:53that's going to mess you up, and that's not going to be good.
07:56But this is working nicely. You will see he is spinning there; right here.
08:01That's not good, we don't want that. That's a real problem.
08:04So we want to add shape hints to control that.
08:07So before you start adding shape hints, save the project. So that warning done,
08:13I am going to apply a shape hint. And I find when you find a spot on the forms,
08:19it tends to like them more than others.
08:21So I know this A and B worked before, so I am going to put them in the same
08:25place, and there we go.
08:30Now the beauty of shape tweening, too, is if I think I want another frame, I don't
08:34have to handdraw anything; I can just let the engine take care of it. And I
08:38want to get rid of these guidelines now;
08:39I don't think we need them.
08:40So go View>Guides and click off Show Guides. Much better.
08:47So let's start using some of the nice features that we can only do in shape tweening.
08:54And you might find you hit a point where you go too far, and it starts to spin,
09:00or your shape goes flaky; Control+Z is your best friend when that happens.
09:04You're better off going back to your original state, and back up your file.
09:07Now here he is coming down; kind of boring.
09:10Let's make him look more natural. And I am going to bend some of these a
09:19little bit. And on the squish,
09:26another good excuse here to have some fun.
09:29I love doing this; it's really nice.
09:33There used to be a classic test you would do in animation that involved taking a
09:37sack of flour, and trying to give it emotion. And this is like our version of a
09:41sack of flour. And if you are not into character animation, I strongly suggest
09:48you spend some time playing around with this sort of guy.
09:50It's a fun way, and we'll be doing a little bit more with him, this simple square, to
09:56give you a feel for some of the potential.
09:57So let's play that. And there we go!
10:00It's a sphere squishing, and popping into a square.
10:04That will have some pretty cool applications later on.
10:07So on to the next!
Collapse this transcript
Using thumbnails
00:00So this is a thumbnail sketch of what we are going to be doing in the next
00:03section. And it's very importan,t before you animate, that you know what exactly
00:09you're going to animate. And it's a very bad habit a lot of people have, in 2D
00:13or 3D, or hand drawn animation; they just start drawing. And sometimes that can be
00:17fun and useful, but for most of the time it's not really a good idea unless you
00:22want to spend four times as long doing something.
00:24So it's a good idea to sit back, and think, and figure out exactly what you
00:28want to do, and how few keyframes you can do it in. Don't make more keyframes if
00:32you don't have to make them. It will look better; you will enjoy it more.
00:36So here is a scene of the square character that we used in the last section,
00:40and it's just doing a simple action; in this case it's a jump.
00:43Now we can animate this jump any number of ways, but this is a pretty standard
00:47one where he begins in his zero pose, anticipates into the squash, pushes off
00:52the ground, gathers at the high point of the jump where he becomes weightless
00:56for a moment, begins to become pulled back to the ground by gravity, impacts, and settles.
01:01We could add, like, a little high point here before he settles back into that, but
01:05for now let's just keep it to these seven keys.
01:08So when we did this originally, I was planning on getting a Wacom tablet set up
01:12so I could actually draw this with a little more dignity, but I think a lot of people
01:16don't have tablets and drawing tools.
01:18So I want to do it with a mouse just to show you that even with the
01:21handicap of having a mouse and not being able to draw to well, you can still
01:26do a thumbnail plan.
01:27So I am going to hide that, and let's just pick the Brush tool. Make sure we have
01:32a smallish brush selected, and brush shape, circular is fine.
01:37So again, going from memory anyway, so I already know what I am going to do,
01:41but let's make our main keys, and we have seven of them. And we were starting from,
01:49like, a standing pose. Ending in the identical pose, maybe further to the right.
01:59And we are just going to draw what we know we need.
02:03So I am going to squash. And, you know, you can put little notes on it for
02:09arcs; maybe it's going to move down, you might not go straight down, you might
02:13go a little bit to the right.
02:15Frame 3, it begins to push off the ground, so you want a nice contrasting shape
02:20from 2 to 3 to really sell that force. And again you might want to make little
02:27arrow notes and directions to yourself.
02:29On Frame 4 he gathers at the very high point of the jump, and he recovers his
02:33original shape. And you know make little notes to make sure that his volume is
02:38consistent between all of these frames. And on Frame 5, gravity again takes
02:45over. And you see on this one his -- I guess the screen left foot is in the same
02:51place here and here.
02:53So it's nice if the opposite foot begins to lead the action on the way down. That
02:57will create a nice little overlapping effect there, and he'll be arching down like
03:03that. And then Frame 6 will be like Frame 2. And just watch your ground
03:07plane and make sure that the ground plane is consistent through all of these. And
03:12let's squish him down this way, so it's a slightly different pose from Frame 2,
03:14but it's still squish; something like that.
03:18And then in terms of spacing, don't forget we can put little spacing notes in here.
03:23So this would be like a slow in, from 3 to 4, and a slow out. Or ease in,
03:30and ease out from 4 as he begins to pause at the top of the jump.
03:36And that's basically it.
03:37So now we have our scene planned. And in the original, what I did was I just
03:41spent a little bit of time, and I cut the different frames out, and put them in
03:46place on the Stage, so it gives me an idea of the timing of the scene. And you
03:52can do the same as you need. Maybe put down, like, a guide layer so that you can
03:56keep the foot placement consistent.
03:58But as you can see in the top, it's allowed me to plan the amount of horizontal
04:02travel, because it's kind of hard to see on the thumbnails. We are looking at
04:06them just moving up and down. You can kind of infer that it clearly is going to be
04:11moving some distance between 3, 4 and 5; between 1, 2 and 3 he will be in the
04:15same place, and then 5, 6 and 7 he is going to be in the same place.
04:20I strongly recommend, can't recommend enough in fact, that you take a little bit
04:23of time before any of your scenes -- on paper and pencil if you want; doesn't
04:28matter, and doesn't matter how bad your drawings are.
04:30Any planning that you do will help you animate the scene, and retain a
04:34little more control over it.
04:35So with that we can proceed to actually animate the scene.
Collapse this transcript
Animating a magic carpet jump
00:00Now we are going to animate the jump using the thumbnails from the previous section.
00:04Let's have a look.
00:06That's a nice simple little action.
00:08So let's double-click on this, go inside, and see that most of the work has been
00:12done through shape tweening.
00:14Okay, so let's move out again, and then you will notice also that the major
00:18action of physically moving from left to right is happening on the outer
00:21Timeline with a motion tween, and that helps us to nest a lot of the tweening
00:26action that happens here in place.
00:28It makes the tweening a lot simpler in Flash.
00:31So I will show you how this is done in a little more detail.
00:34I am going to delete everything here, and reinvent the wheel.
00:38So let me get rid of all of these.
00:39I am going to remove the tweens.
00:43So we're basically back to square one, and let me show you how this is done.
00:47So I like to have the thumbnails inside the symbol of the Jump frame.
00:52So I am going to just click on this, go Copy Frames, hide it, and then go Edit.
01:00Now we can work entirely inside the carpet jump symbol. All you need for this
01:03really is a green rectangle. And we've copied the thumbnail,
01:07so let's make a new layer, and paste them in. And I think let's move the artwork
01:14to just off to one side where it won't get in our way.
01:17I will move it down to a lower level.
01:21And if it's guided out, it won't export, so you can go to your outer layer, and it's hidden.
01:25Its a little work around that I use for hiding things away if I just want them
01:29for reference purposes, or to back up layers.
01:34Okay, so we're going to have basically 7 keyframes, and the guy is going to be in
01:40the same physical place, left to right, in the first three.
01:42So let's slap down F6; F6 on those points.
01:47By 5, 6, and 7 he will be a little further over to this side.
01:51So let's make a keyframe here, and use Shift and the Arrow key, nudge it over
01:55maybe two or three clicks, and then hit F6 here and here. So we have two states,
02:00left and right, with 3 keyframes in each.
02:04And on Frame 4, that will be kind of between the two.
02:07So I will hit F6, and Shift+Arrow to the right maybe a couple of small moves, and
02:12then Shift and up to get the high point. And so now we have our beginnings of a
02:19very simple animation.
02:20So now we can go in and push the secondary frames.
02:23So let's hit the Free Transform tool, or Q; on the second key, I am going to
02:29just drag down for the squash pose.
02:32Hold down the Alt key so that we symmetrically pull them to one side.
02:38Now, we have a nice transition. And the beauty of not having shape tweening
02:41activated right now is that you can see this transitions more cleanly
02:45between one and the other.
02:46I will make it a bit bolder, and this one will be the push off before it
02:51goes into the up pose.
02:52So what I am going to do first is take the up pose -- because it's kind of the most
02:56important one, after the start and the end. And let's get that into whatever
03:02final position we want there; beautiful! Okay.
03:09Now, we need to go from the anticipation, and I am going to just push this down a
03:13little more so I can have a better idea of the final look of this.
03:17He is going from here to there, and he is going to work from anticipation, into
03:22the push, into this pose.
03:24The problem is, when you work inside Flash, it's very hard to see where you're going
03:28from, and going to, and I like to have an idea about what my destination is.
03:32So what I am going to do is copy the up pose directly over the push off
03:38pose, so I can see where I am heading. Hold down the Alt+Option key, and drag
03:42onto this new layer. And now I am going to outline that, and padlock it.
03:47So now I know I am going from the squash, into the push off, and it's going here.
03:53So now I can begin on the Animation layer. And I feel snap on; we don't need
04:00snap. Make sure you have snap off.
04:02Now, I can try to form my little dollar bill, or jumping green rectangle, magic
04:08carpet; whatever this guy is.
04:09We can pull him closer into that position.
04:13Now, you can see, he is heading in the right direction.
04:24So at this point he's heading into that one, the shoulder is heading into this one.
04:28It's moving fairly well.
04:30So now we can delete that little reference layer.
04:34Looking at this now, actually, I can see I bent his back the wrong way here.
04:37In Frame 2, in my thumbnails, I had bent him that way, and that really works a
04:40lot better with this.
04:41So let's make sure that's consistent. And then we have the opposite thing
04:46happening on the way down here.
04:48This is Frame 5, where he is starting to approach the ground.
04:51So let's move into that, and we'll try to shape this.
04:55I can make another guide layer for this one too if I wanted it, but I think I can eyeball it.
05:01If you use the Bracket key, the Comma, and the Period near your spacebar, you
05:06can go back and forth a lot more easily.
05:07That's feeling pretty good.
05:08Let me bring the shoulder down a bit.
05:16We don't want anything to stick, so you want a certain amount to movement between
05:19any two of these frames. And then Frame 6 will be the squash frame, alot like
05:24Frame 2. If you wanted to be quick and dirty about it, go to Frame 2, hold down
05:27Alt+Option and Drag. You can modify it too, of course, but it's a quicker way of
05:33getting you into the ballpark.
05:36Well, of course we have to reposition them, because this is in a different
05:40pose from over here.
05:41So again, we can eyeball it, because he is squashing.
05:47That's not too bad.
05:51Okay, now we have our basic action posed out.
05:54Let's hide those thumbnails; we don't need them anymore.
05:56I am going to activate shape tweening.
05:59Be very careful you don't accidentally activate classic tween, or it will
06:02turn all of your frames into groups, and fake little symbols, and they won't shape tween.
06:08If that ever happens, or you do it by mistake, simply go to each symbol, and go
06:13Control+B to break it apart, and it goes back into being a shape again. And then you
06:17can change your tweening mode by right- clicking, remove the motion tweens, and
06:21go back to shape tweens.
06:22It's very tedious, so please be careful; try it to avoid having to do it in the first place.
06:27This is a new behavior in CS4 and CS5.
06:29It didn't do that in earlier versions.
06:32So the next thing to do is, as you can see, some of the shape tweenings are
06:35misbehaving, so let's put some hints in.
06:37So Control+Shift+H, or Modify>Shape>Add Shape Hint.
06:41And as you can see, there are hints already there. That's because I deleted the
06:46original animation that we did for this course.
06:48So let's just remove all hints first and see what the new ones do. So that's fine.
06:54As you can see, from 2 to 3 it's getting very strange.
06:58So I am going to apply some new hints.
07:00So Control+Shift+H. And I will remind you now before you do this, you really
07:05should back up your file.
07:06I don't think we will have any problems here, but shape hints will crash your
07:09computer from time to time -- or not your computer, but your Flash.
07:13Occasionally, you will create an animation the program really doesn't like.
07:18If that happens, Flash will simply choke, usually with no recovery.
07:22So you will have to restart the program and you will lose your work.
07:24So I don't want that to happen to you.
07:26So as you can see here, I've put down 4 keyframes: A, B, C, D. And that
07:31works really nicely.
07:32Sometimes it won't work; if I had put A, B, C, D in that direction, it may not have worked.
07:37But for a simple shape like this, usually I will put down one, and if it makes
07:41the tweening better, then I know I am good, and I can move to the second one,
07:44and third, and the fourth, and so forth.
07:47Sometimes I get to the point where I'll just delete them all, and maybe start up here.
07:51I could go A, B, C, D. There is really no rhyme or reason; I can't give you one.
07:55It's just something that you have to be a little patient with.
07:58But I have found very rarely can I not make something work, or at least get it close
08:03enough to be usable.
08:04So now I am just going to keep going, and apply the rest of these little things.
08:08It can be confusing, because you are applying the shape hints of one key over the
08:13shape hints of a previous one, but you will get used to it.
08:16I think the end results are well worth it.
08:18So as you can see from 5 to 6; same problem. So I could put down one key, one
08:24hint rather. And as you can see that's the effect of a single shape hint, and if
08:31I put down one more, you will see it will tighten it up a little bit more.
08:34Sometimes one hint is enough, which is really nice when it happens. But in this
08:38case, this little guy, he needs all four.
08:40Now, whatever version of Flash you are using might be a little bit different,
08:44but they should work.
08:45I've used hints for years.
08:47And then into the final; great! That's it!
09:01Let's look at it again; super!
09:03So let's go to the outer Timeline, and big problem right now is he is kind of
09:07jumping in place, and we want him to jump across the screen.
09:10So I am going to hit F6 here, F6 there, and I am going to hold down Shift, move
09:15the Arrow key four or five clicks that way, and I am going to activate classic
09:20tween, and now we have the horizontal jump.
09:25If you wanted to increase the vertical of the jump, hit F6 there, and push it up
09:29a couple, and you can then modify that.
09:31So this is also a good example of nesting your shape tweens inside a motion
09:35tween, which is one of the major processes that I use.
09:39One other thing to watch out for when you apply shape hints: be sure you are
09:43working on the right layer.
09:44It's very easy to have this layer active, and you're applying hints, and you
09:48think you are applying them to this layer, and you're really applying them to a hidden layer.
09:53That can happen, and it's a waste of your time.
09:56So do always make sure that when you apply hints that you're working on the
09:58right layer that you're intending. And then you can create pretty nice little
10:02animations like this, with a lot of personality, with not that much work on your part.
10:06So I think we're ready to move on to some more interesting shape tween animation
10:10with the magic carpet.
Collapse this transcript
Setting up a magic carpet walk cycle
00:00So now we're going to take our carpet and make it walk; our dollar bill, or whatever you
00:05want to call this green rectangle.
00:06So let me zoom out a little bit and let's have a look.
00:15So that's a nice little walk cycle. And if we double-click on that symbol you
00:20can see how it's constructed.
00:22Essentially, he's walking in place. It's all shape tweened. And we have, beneath
00:27here, our little guide layers. Notice how his feet, when they hit the ground they
00:31stay; they follow one of those guide layers. And so the thing to do is
00:37basically animate him in place, so he's walking over an imaginary center of
00:42gravity. And then to make him walk across the screen, we take this symbol, and
00:45we motion tween it to create this kind of walk. And that's how I tend to do a
00:51lot of these walk cycles.
00:52It gives you the flexibility; you can keep making them walk as long as you
00:55like from left to right.
00:57So let's do a very quick overview of the classic walk cycle poses, and this is
01:02from my animation blog.
01:04So we have the contact pose, that's the first one that we'll do. And that's
01:09where the heel of the leading foot contacts the ground, and he walks through
01:13the recoil, the passing, the high point, back into the contact, that's the
01:17opposite of the first one.
01:19And the second most important pose in the sequence is the passing pose, and
01:23that will help us to determine a lot of the flexibility and the personality in the walk.
01:28So the recoils and the high points fill it in. And they basically just allow
01:32us to give that feeling of gravity by pushing the head and the mass of the body down a little bit.
01:37Okay, so let's go into the Flash file, and I'm going to just right-click on this,
01:41and click Edit. And because we don't want to take too long to do this, I'm going
01:45to work within the existing scene, and show you how I did this by redoing it.
01:51So I'm going to take the walk layer, right-click, and clear those keyframes. And
01:57we have the standing pose, this is actually the pose I used as a reference, it's
02:01the same as the pose from the previous scene that we did with this character.
02:06And we have our guidelines on the ground.
02:08So what you want is a guided out layer with these two parallel lines; maybe
02:13a slight angle. We have our little reference image, which we will just use
02:16for a moment. And we have, obviously, our blank layer for walking positions, and a
02:22position that informs as of the keyframes.
02:25So what I do is I hit F7 to create a series of blank keyframes, and I use
02:31the label feature; it's a very useful tool for putting notes on your
02:35animation Timeline.
02:36Sometimes I'll have 2 or 3 notes full of these little labels.
02:39So we have on Frame 5 the recoil, and you can see as I click here, you can
02:44type in any descriptor you want; C, R, P, H might be fine too, if that's the enough for you.
02:49High point is on Frame 13, the passing was on Frame 9, the next contact
02:56is Frame 17, then 21 for the next recoil, then 25 for the next passing, then 29
03:02for the final highpoint, and we cycle back on Frame 33 to another frame that's
03:07just the same as the start.
03:10So the next thing to do will be to copy of the standing position into the
03:16walking layer, so I'm going to make F6 to make a new key, and drop it in there.
03:22Now it's turned my layer into a guide layer; I don't want that to be a guide
03:25layer, because I want to see this, so switch that off. And I'm now going to hide
03:30that standing pose layer; that's only there for checking references for volumes,
03:34and the size of the object.
03:36So let's padlock our little orange guidelines; we don't want them to move. And I
03:41am going to make the first keyframe. So let's move, I'm thinking of this as his left
03:47foot, his physical left foot forward, and his physical right foot back. And don't
03:53forget the opposing action:
03:55if the right foot is back, the right arm is forward, so we'll do the same thing here.
04:00So something like that, and you might want to see how far you can get away with
04:19this, that's not too bad.
04:21So we want to cycle back into this frame, so let's go to the final frame and hit
04:25F6. So we are going to start here, and we're going to stop here. And we need another
04:30contact position here that will be the same as this, but with the feet and the
04:34shoulders in opposite positions.
04:36So one thing that makes this much easier; let's make a new layer, and I'm going
04:40to copy Alt+Option+Drag this above. Go into an outline mode, so this will be a
04:46reference layer, and let's switch our outline to something that we can see a
04:51little more easily, like black. So let's padlock that.
04:55And let's put our guidelines back on. And this is pretty simple; all we have to
04:59do is pull the feet into the opposite positions.
05:03And don't forget, we're looking at this at a slight angle, so that's why we
05:07don't go completely past these points. And we simply move the shoulders as well.
05:12The right foot is forward, the right shoulder is back; the left foot is back,
05:16the left shoulder is forward. So if you are confused, don't worry; walk cycles
05:20are confusing, but if in doubt, refer back to this image.
05:24So we have a nice opposing action now, and I think we can get rid of the
05:27temporary frame, and this is usually a good sign.
05:32So I want to pull the lines forward just a little bit, so that we match the nice
05:36line of action. This a pretty confident walk.
05:39So let's activate shape tweening. I'm going to right-click; Create Shape Tween.
05:45If by accident you're unlucky enough to create motion tweens here or here,
05:51don't worry; just hit Control+Z until you go back to the grayed Timeline, and
05:56select shape tween again.
05:57What you want to see is this nice green color with a solid arrow between them.
06:01If you see dots between these, that means you have a symbol or a group
06:04contaminating your Timeline. You have to find them and get rid of them.
06:08You can only have shapes on the Timelines for shape tweening to work.
06:12So as you see, here it's not quite working yet, so we need to add some hints. So
06:17you can Modify>Shape>Add Shape Hint, or Control+Shift+H. And I'm going to pop a hint
06:26down there. And as I will say before and again, always save your file before you
06:31apply hints, because there are very rare conditions when you can overload Flash
06:36and crash the program. And it's a terrible thing to lose all the work.
06:40So I'm just going to keep hitting Control+ Shift+H and apply a few more hints. And
06:45you can see with each hint that I add, I've got better transition.
06:49Sometimes you have to put them in different positions. There is no fixed method
06:53for this; it's just trial and error. But you will get a feeling, with experience, as to
06:58what kind of shapes seem to favor a stable shape tween.
07:05So, the first leg is solid; he is obviously not really walking. It's more of
07:09a moon walk; his feet are stuck on the ground. But that's the first step in the process.
07:13So I am going to make four more hints and drop them directly over the previous ones,
07:20so that we can complete the second step; beautiful!
07:29So that's the first phase of the walk cycle, and we have laid down the contact
07:34positions, and now we can move on and apply the recoils, passing, and high points,
07:39and bring this little guy to life.
Collapse this transcript
Animating a magic carpet walk cycle
00:01Okay, so we are back again and we are going to finish the walk cycle.
00:03So I'm just going to double-click, go back into the walk, and now we start adding
00:09the passing position.
00:11So the reason why we got the tweens to make everything work was to allow Flash
00:16to calculate the positions of the feet on the guidelines.
00:21We will make some changes, but obviously we need to make this a little different.
00:24So let's hit F6 on this passing position;
00:27insert a new keyframe, and the hints are basically calling on the wrong positions.
00:32So the first thing we need to do is just reposition the animation first, before I apply the hints.
00:38So what's going to happen here is that back foot, that's this one here, that's
00:42going to be lifting off the ground as it moves forward, so let's do that first.
00:46Okay, so now let's activate our hints again.
00:54Modify>Shape>Add Shape Hint, and it adds a fifth hint that we don't need, so
01:01let's remove that. And we will scrub through to the next key, and just
01:06reapply these fellows.
01:11Now we can see it's starting to look a little better.
01:14We need to add hints to the second step, because when we made F6 here it called
01:19the hints to this keyframe, whereas they used to be on the contact position.
01:23So let's go back to here, and I am going to add four more hints on the passing position.
01:36Scrub through to the second contact and put them down there.
01:41And what you are going to see is the hints from the previous keyframe, from
01:45passing to contact being overlaid over contact to the next contact. So it can
01:50be confusing, but that is just a part of the process that we have to endure I am afraid.
01:56So now we have at least the foot working.
01:58So I'm going to actually leave that for now, and make the same process happen on
02:02the second passing position. Hit F6 on the second passing position, same thing
02:07has happened here. That will temporarily break our nice tweening, but what we
02:11need to do is figure out where we need the foot that's lifting off the ground,
02:15and I believe it's this one here.
02:17So let's lift that first.
02:20And yet another reminder: if you get something working the way you like, save
02:24these files very often.
02:26So obviously the hints are completely in the wrong positions, so let's pull them in now.
02:29There we go; actually there are now no hints between these two frames, which is
02:39kind of nice. Occasionally you will get lucky with some of this.
02:42So we need to obviously push these passing positions a little bit.
02:45The passing pose tends to be a little higher than the contacts, so we need to
02:49lift this part of the body higher.
02:51So let's hide the hints for now. And not by a lot, but just enough to give it a
02:58little bit more attitude here. And I am going to push his chest out,
03:04watching the volume so we don't make them too big, and that hasn't broken
03:08any of the tweening.
03:09Same thing here; you can usually make big changes on the passing position, but
03:15for a first scene, if this is your first scene, I wouldn't go too crazy.
03:20Keep it reasonably functional for now, but you can later on, if you get
03:23braver, make some pretty huge alterations. Any alterations you make to the
03:27passing position that are really substantial, if you do something like this, for example;
03:31you know, you can get away with them.
03:35I like that, so you know what, I am going to do that here too. Make him a little cocky; nice.
03:45Okay, so the next thing that we do; we will go into the recoil, and we will have
03:50to squash him on this.
03:52You can see immediately some of our tweens are beginning to break down here; I am not going
03:57to worry about that immediately, but I want to first build the squash.
04:01So I am just going to select everything and pull it down. Watch to make sure
04:08that that foot, this one here, is still on that little orange line. And this is
04:14like more of a squashing of the leg underneath the body, and to look at the
04:20original, that's what we are kind of trying to emulate or give the impression
04:24of. And I am going to pull the shoulders down just a little bit more; see if
04:29this works. Seems to.
04:32So now let's fix those hints again. I hit Control+Shift+H; creates a fifth hint
04:39that's not needed. Remove that, and I'm going to scrub through, and you can see
04:43obviously these little guys keep moving around, so you keep pulling them in.
04:48That might seem like, why on earth are we doing this moving hints around?
04:51It is a nuisance, but look how cool this is when you get it to work.
04:55So they're basically little temporary placeholders that constantly change
04:59position. I would love it if they would lock themselves onto these points and
05:03never move, but sadly Flash doesn't do that, so we have to work around that.
05:08Anyway, let's go to the second recoil, hit F6, and same thing here. I am going to
05:13just select the whole thing; Q, Free Transform, pull this down, and maybe squash
05:19the -- as best as we can with four vertices and four lines. It's nice working
05:24within these constraints sometimes, because it really focuses your mind on just
05:27personality of this object.
05:29So now that that's done let's see if it matches the other one. So I am just
05:32going to go back to the other recoil. See, this one is a little higher than that; you
05:36want them to match reasonably well.
05:37So I am going to pull him down a bit more.
05:42See if it's a little closer. That's much better; that's a nicer transition.
05:47So now I'll go in, and Control+Shift+H to make a fifth unnecessary hint; remove that.
05:53And go to this next one, and once again, let's pull everything back in.
06:00So it's broken this transition here.
06:02So I am going to make some new hints to protect that.
06:08I will remind you again, be sure you save your project.
06:10If you fix the passings the way you like; save, save, save again.
06:21Now, we are starting to really see a walk. And one last little touch, the
06:26highpoint. F6 that, and this is the highpoint.
06:32So pull them up. Maybe we can stretch them a little bit. I am going to fix
06:38those hints, and I am also going to pull that foot up. See if we can get away
06:49with that. And maybe bring it forward a little bit.
06:54That's nice. And the other one, F6 this, pull them up, lift that up. Don't change this one.
07:15The whole of point of doing this is, do not mess with the feet that are
07:18contacting the ground; Flash has calculated the positions of those better
07:21than a human can.
07:24So now let's play that through.
07:27That's looking really nice. And what's giving it that ping effect that you're feeling:
07:31that's the little chest pump that I put into the passing positions. If you want
07:35to get that to work then do it on the passing. If you do that once the recoil
07:40and the high points are set, you probably will see movements aren't as smooth as you would like.
07:46The reason why this is feeling so smooth is that a lot of tweening has been done
07:50by the computer, and that's a very difficult thing to get right by hand.
07:55I find sometimes, I will do these walks, and it's easier, if I want to make a
07:58drastic change, just delete the recoil, delete the highpoint, and redo the
08:03passing if you want to make those big changes. Then redo the recoil and the
08:07highpoint after Flash has calculated all of the little bits and pieces that have to be filled in.
08:11So that's it. And on the outer, as you can see, this is simple enough.
08:15All I did here was create the -- well I'll do it again. I'll just copy this; paste it.
08:22Control+Shift+V to paste in place. And the only thing you really need to watch out
08:27for if you're making -- let's say now we will make a classic tween. And the only
08:32thing to watch out for when you start positioning this across the screen is the
08:36foot placement. If you place it too far, he seems to be skating on ice. The feet
08:41are sliding too far forward. If I put them too close, he seems to be
08:45moonwalking. He is barely moving forward at all.
08:48So there is kind of a magic distance for every walk, depending on the spacing of
08:52the feet. That's not too far away.
08:54So as you can see, that's what I have already worked out here on the bottom
08:56layer. It could be improved; there is some stuff that's still happening there.
09:00It's really only a matter of going in, and finding the ideal distance
09:04so that that doesn't happen.
09:05And I would say this one it's probably a little bit further down to her. And
09:10sometimes when I position these, what I will do is unguide the Guide layer so
09:15that I can see the guides, and then I can make sure that my actual angle is
09:20being consistent across the screen as well.
09:22And when I am happy with it, I can go in, and guide them back out again.
09:25So never delete your guide layers.
09:26They are always handy to have
09:28in case you ever have to go back and make changes.
09:30So that's it. We have made a magic carpet walk across the screen.
Collapse this transcript
Shape tweening hair
00:00So this is a demonstration of a technique that I kind of stumbled across by
00:05accident, a few years ago.
00:07You tend to assume that some shapes are just too complicated to shape tween. And
00:13out of pure boredom or desperation, I tried shape tweening a really complicated
00:17shape, like this hair, for example, and to give an idea about the context of it.
00:21It's just a very simple, very rough hair outline; there is a quick sketch of the
00:25character beneath, and there's the hair.
00:27So let's -- actually we probably see it better if we look at it in outline mode. Let's
00:31play it. And there are no shape hints here; it's all happening without any hinting,
00:37which is really amazing.
00:38And the thing that made it work was the use of the Envelope tool.
00:43So let me quickly demonstrate this.
00:46I will make a new layer.
00:46I am just going to copy the existing start position up here, and we will just get
00:50rid of the tweens for now.
00:53So here we have the outline.
00:55Now, if you want to follow along and you don't have the Exercise files, what I
00:59would do would be to just pick the Rectangle tool, pick any colors you like,
01:03doesn't really matter.
01:04Hold down the Alt key, and just make some complex shape that's got a lot of points,
01:10and lines, and geometry. And then once you're happy with the fact that it's
01:13probably pretty detailed then you can start playing along with this. And you know,
01:17obviously put some curves on it to make it feel a little more natural.
01:22So anyway, that's what I would do if you have to generate the assets yourself.
01:26So once you have got your regular shape, let's make some keyframes, and I will
01:30show you exactly how I did the original.
01:33So let's click on Frame 10, and I am going to activate Free Transform, and down
01:38here we have the Envelope. So click on that, and you see immediately that the
01:43hair has suddenly got a nice little bounding box around it. And as you pull these
01:47points, you have access to these little spline handles, and you can just click and drag them.
01:51So I am just pulling them into various positions, and now we've made a nice transition.
02:02If I hit Create Shape Tween, that's a smooth motion between that, and we simply
02:12repeat the process on the next key. Just do a different one this time.
02:17Now this isn't a magic bullet.
02:20At some point it's going to break, and it may break on you with a different shape,
02:24or a different direction if you pull this too far. If you're careful with it
02:28you can always go back to your original position, and work it back until you can
02:32get it working again.
02:33So that's basically it; that's the process I have been using. This is very handy, as you
02:37can imagine, for things like clouds or natural effects and things.
02:41The big problem that you're seeing right here is that it is one continuous mass.
02:46So obviously, we would like these hair filaments to move at different speeds, and
02:51different directions, and overlapping timings, and so on.
02:54But still in all, this is a little more power than you would have if you were
02:59simply using motion tweening to stretch and squash the object.
03:04So let me just play that again.
03:07And we have the original layer too.
03:13So that's a very useful tool.
03:15I would warn you of one thing that they seem to have changed in the new version. In
03:19the older versions you could select more than one layer, like this, and you could
03:25then use the Envelope tool.
03:27In the new version they've disabled that.
03:29So unfortunately, we can only apply this to one layer now. And that is a bit of
03:32problem. I don't know why, but people who have an old version lying around, or are
03:37wondering whether they should upgrade, might want to bear that in mind if this is
03:39important to them. But we can work around all these problems of course.
03:43And in the next section, I'll show you how we can break apart the hair, and the
03:46different layers, and extract even more performance from this technique.
Collapse this transcript
Intro to overlapping hair
00:00In the previous section I showed you how to take a single image, like the hair
00:04level, and to use the Envelope tool to shape tween the different shapes.
00:08The only problem with that was that it felts like, obviously, we were working with
00:12a single shape that being tweened at the different forms; it does feel a little
00:16static, even though it is kind of nice just to be able to push it that much.
00:20So there is a way, fortunately, that we can still use this system, but have a
00:24little more flexibility. And what you're seeing here is the same original shape of that hair,
00:30but what we've done instead of having the whole thing on one layer is split it
00:35up onto several different layers, as well as adding a new little forelock here
00:41to vary the head and the whole structure little bit better.
00:46So what you can see down here in this folder -- I've guided out the original
00:50animation layers. Let me show you them first.
00:55As you can see this looks pretty much like the preceding section that we did,
00:58and what I've done is then copied these layers, hairs 1 through 4, to this section,
01:04and offset them by one frame.
01:07So this stair step that you see here: that is what's creating the illusion of
01:12the more natural motion. So let's hide these again.
01:15And just go through this.
01:17I have also added this little underlay that helps to give the hair a little
01:21more body. And then as I activate each layer one by one, and insert the head, and
01:30then we have the forelock on top, which is also slightly offset. If you look at
01:33these keys, they are not hitting all in the vertical columns like these.
01:37If all of these keyframes were in the vertical stack, then it would feel
01:41artificial; it's simply that offset that allows the magic to happen.
01:45So this is the basic principle that we'll be applying in this section.
01:49I am going to show you how to split a hair layer onto different sections, and
01:52then to apply the Envelope tool individually to each one, and then offset them.
Collapse this transcript
Animating overlapping hair
00:00So now I'm going to recreate the animation of the hair so that you can see
00:06exactly how it was done.
00:06So first thing we have to do is simply clear these layers.
00:11So I'm going to right-click; clear those keyframes. And we have the hair forelock;
00:19I am going to keep the first frame with that.
00:21And there is this lower level for the hair.
00:28So am going to keep the first frame for that.
00:29Just get rid of all of the subsequence.
00:36And I'll work within this section here, the guided out hair, and I'm going to get rid of these.
00:45So basically all we have now are four layers of hair; pretty much
00:50identical to the one we saw in the first of the hair shape tweening lectures, and
00:55all I've done is broken it apart at certain points. I could've made three cuts,
00:59I could have made two.
01:00In this case, I thought four was kind of a happy medium.
01:03So that's why we have four layers here.
01:04Now when we begin to animate this -- I've already preanimated at the top here
01:08this S curve level, and this is the kind of thing I'm trying to match.
01:12This is the classic animation waveform that goes from the C shape to an S shape,
01:17and reverses to the opposite, and back again.
01:19It's very pleasing, and it's extremely good at creating the illusion of flexible motion.
01:25So let's see how best this can be achieved using the Envelope tool.
01:28So let's just make three more columns.
01:31I am going to go in a little closer.
01:37In earlier versions of Flash I would've been able to select all of these, and
01:45then apply the Envelope tool, but it's locked out now.
01:47So this unfortunately means a slightly slower work process, but it's still worth doing.
01:55There is our first layer.
01:57Now if you look carefully at that point there; let me zoom in.
02:01There is a bit of weirdness going on there.
02:03It might be at the threshold that you can live with.
02:06So let's go to the next one.
02:09It's extremely small.
02:11We can definitely add hints, of course, if we think that's too much, or it starts acting weird.
02:15It's always good to keep an eye out for that.
02:17Now there are other things that we can do in terms of trying to make these feel
02:24a little more flexible.
02:25We can individually bend the hairs. And we are seeing another little bump
02:35there on the corner.
02:40The thing that will really sell the idea that this is a very flexible object,
02:45like hair, is squeezing these into reversing their shape.
02:51This is curved into a C shape here.
02:53If we can coax it into the opposite angle, then we can tell it's not just stiff
03:01object. And on the way back up, if we can pull these down -- and now it's a question of just
03:14how much can we get away with before the shape tweening simply breaks.
03:19And, of course, it will. It has its limits. It's not perfect.
03:22There is another tool that's very handy when you work like this, and that's
03:31the Subselection tool.
03:32If you click on that, and click on the shape, you'll see all the points. One of
03:38the things that can happen when you use the Envelope tool is that new points get
03:41generated as a natural byproduct in that process.
03:44So if that happens that can contribute to bad tweening.
03:48These new points can be deleted, and sometimes you can use the different line
03:52tools to draw around them, and cut them out to try to maintain the points.
03:56So in other words, if you have 15 of those points on Frame 1, you want 15 on all
04:00of your frames if you can keep them that way.
04:04So that is the basic process that was used to create the various layers.
04:08So as you can see, it's holding up pretty well layer by layer.
04:27The simpler your shape, in theory, the more reliable this process should be.
04:34I would suggest you try to break it; see how far you can take this before it
04:38snaps. And that's pretty good.
04:40I'm going to just very quickly -- and I'm not going to use much finesse with this,
04:44so please forgive, but the primary purpose now is to just show the general principle of this.
04:58These lines here, you see that they're kind of stuck in a straight line,
05:04you may want to be little more adventurous with them. If you hold down the
05:07Alt key you can then break them apart so that they work independently of one another.
05:15It's handy if you really want to add little breaks.
05:17As you can see, it's creating a point there, but it hasn't damaged
05:20the image tweening.
05:21So I'm just going to do the last one.
05:23I am going to squash this one.
05:32Now I'm seeing a little weirdness around some of the joints there, but the hair is
05:40going to be moving so fast, I don't think we need to add any shape hints. And if
05:44you were to add shape hints,
05:45I will say it again: be sure you save your project before you apply them, as
05:50it can lead to the occasional crash.
05:54So now we have our four layers, and obviously the animation isn't as nice as the
05:59finished one that I was showing you earlier, but we do have a one more step that
06:03we can add that will help polish this.
06:04So I am going to select all these layers, and hold down the Alt key, and drag them here.
06:10I'm going to continue holding down the Alt key, and just copy and paste.
06:15We could also right-click, and go Copy Frames, and paste them, but I think
06:19this will be all right.
06:21So the next thing we do is offset the timing. And I select three layers
06:25here; hit F5, then select the bottom two, and F5 again, and the bottom one, and F5 again.
06:34I can continue going a little further, but I think for now I'll just chop it off about here.
06:39I am going to drag these just to there.
06:43I am going to just get rid of them, and now let's see what that looks like.
06:48Now let's hide that lower layer, and let me guide out that.
06:55They became guides, because I copied the original Guide layer,
06:57so that property was propagated.
06:59They don't have to be guides.
07:01So let's play this. And as you can see, we've got overlapped timing. The
07:08shape tweening, of course, is much more conservative.
07:10I didn't take any major risks with this.
07:12I have not animated the forelock, but I would use the same technique in using the same
07:16systems for animating that. Envelope tool. Same here.
07:24Of course, you see I'm using only two or three keys.
07:30You could have 20 different keys.
07:32It depends on your time.
07:33Now you see, I've finally managed to break it. And in that event what I will do is
07:35just hold down the Alt, Option key, drag Frame 1, and try again.
07:42Maybe don't be quite so aggressive this time, and see if that works.
07:48Work in increments. And that's broken again.
07:56So, that will be a shape that I would definitely have to add the shape hints to
08:00that to make it work. Try one more time.
08:08Because it is simple shape, we could probably move that individually.
08:11Let's see if we can do this.
08:12There we go, and that works.
08:17So I would just obviously repeat the process, select those frames, hold down the
08:20Alt key, and duplicate them. And nowhere in this have we had to resort to shape
08:25hints, which is great.
08:31So great for mermaids, under water, characters standing in wind.
08:35You can make the timing faster simply by removing some of these empty frames here.
08:38And that gives you a great deal of flexibility.
08:45You really don't want to be animating hair by hand. It's not fun.
08:48So with that I think we're done with shape tweening.
Collapse this transcript
3. Natural Effects
Animating waves
00:00In this section we're going to cover natural phenomena, like water effects, or
00:04flames, smoke, that kind of thing. Kind of different from what you might be used
00:09to doing with characters.
00:10And one of the issues that you deal with when you do natural effects like
00:14these is you tend to need a lot of in between frames to make these look nice; to make them sell.
00:19I'm going to zoom in on this a little bit, so you can have a better idea of what
00:24we're looking at. And if you follow any one of the points on this wave cycle,
00:30you'll see that they are shifting and blending or morphing one into the other.
00:34And that's really what gives the feeling for liquid.
00:36So let's have a look at how this was done.
00:38Let's zoom out for a second, and I'm going to double-click on this.
00:44If you want to see the entire Stage right now, this is all grayed out, and we've
00:48just framed in on the main area.
00:51So what I'm going to do is enable that.
00:54So let's go View>Pasteboard.
00:56If you're using an older version of Flash, it used to be called View>Work Area, or Workspace.
01:01They changed the naming convention with some of the later versions, so just keep
01:04that in mind, because that might throw you.
01:06So now we can access the entire area that Flash has available for us.
01:10So you can see that I've got the wave going a little bit beyond the Stage there.
01:14I'm going to double-click on this.
01:16Let's have a look at how this was done. And amazingly, it's just done with two keyframes.
01:20I didn't have to worry about doing several hundred intermediate frames down
01:25here; just two. And even better, the first frame and the last frame are the same frame.
01:30What I'll do is I'm going to reconstruct this internal symbol entirely from
01:35scratch so you can see how it was done.
01:37So I'm going to go into the symbol. And essentially to follow along, all you will
01:40you need to do is to create a long rectangle.
01:42I'm going to hide the lower layer, actually I'll just make a new one to match the size.
01:46So let's select a color.
01:48I'll pick this bright blue here.
01:50I don't want an outline around this.
01:53If you click this little red triangle here that will mean there's no color on the inside.
01:57Oops!
01:57There we go. That's what you want to see.
02:00And let's select the Rectangle tool on here.
02:03I'm going to make a rectangle.
02:05Let's put it into outline mode, and then just hide the lower layer; we don't
02:08really need that right now.
02:09And guide it out if you don't want to see it anymore.
02:13So essentially all you need right now is a little blue rectangle.
02:16So let's frame in on with the Zoom tool, and selecting the Selection tool,
02:21and select off of here.
02:23So let me just make sure all my snaps are off.
02:29Snap to Grid is not needed for this.
02:31So okay, now we can start pulling these points.
02:33Hold down your Alt or Option key, and let's just make an interesting
02:38little graphical shape.
02:43Now pull these points to whatever kind of wave shape you think you want.
02:47I was actually pretty subtle and understated with the one I did for the Exercise file.
02:53I think you can probably get away with pushing these a little more.
02:56A nice selection of curves: S curves, and C curves, and so on. So there we go.
03:01At the end, say 60 frames later, you can make this as long as you like or as
03:05short as you like, and now we activate Create Shape Tween.
03:08So I hit F6 at Frame 60.
03:11If by accident you who select Create Classic Tween, meaning motion tween, or the
03:16other different kinds of tweens, hit Control+Z and reapply the shape tween.
03:21Now that we have this done, the animation will be created using shape hints.
03:27So let's go Modify>Shape>Add Shape Hint. And I'm just going to make four of them
03:33for now. And I'm going to use these, Control+ Shift+H, to pin down four corners.
03:41And as I've said many times in this course, when you start applying shape
03:47hints, I always like to back up my file, because maybe one time in a thousand
03:53they will cause a crash.
03:55It's a really great tool to have, but it does have its issues.
03:58Now those of the four: A, B, C, D; they are the same on each. And now we're going to
04:02make some of the animation happen.
04:04So I'm going to make one more first, E, and I'm going to pop E down, let's say on this point.
04:09Now we scrub ahead to the end of the Timeline, and I'm going to push E all the way to there.
04:15Pick any point.
04:16I'm just picking arbitrarily here. Different points will have different results.
04:20And now we have -- wow!
04:22That's fairly hectic looking. Let's just play it.
04:24One thing that's happening here that I don't want to happen is we're seeing, if you
04:29follow this lump here, he seems to be kind of a little too concrete.
04:34It's not giving me the kind of nice, curvy animation that I want, but that's okay.
04:37Let's just pull the E point back a little bit, and now let's play it.
04:41That's a lot nicer.
04:42So as you can see, we just overdid it a little bit.
04:44I'm going to move my mouse so you can follow along;
04:48this point here. That's eye catching; a little too much I think.
04:53So I'm going to pull the E point.
04:55Let's see what this looks like.
04:56That's a little better.
05:00This point now here, I'm going to track along with it, this feels a
05:03little static to me.
05:06This is fun part; obviously it's not quite as predictable as you might like, but
05:11you get the results simply by playing around.
05:14That's nice, and the difference between one and the other is just a few pixels
05:19on the position of the shape hint.
05:20The one thing you will notice here is that the corners of the A, and the corner
05:27of the B, they do start showing themselves as being pretty stiff. And that's why
05:34I've made the waves so that they are well off the Stage.
05:37You may not be able to see, but here is the Stage at the left side, and here is
05:42the end of the Stage at the right side.
05:43So anything to the left and the right of those points will not be seen by the audience.
05:48And let's move out, and as you can see that's the same symbol.
05:52I've got it nested inside a symbol because that allows me to apply motion tweens
05:57to the external symbol.
05:58So I can hit F6 now, and if I wanted to, I could move this up and down and motion
06:03tween that, or left and right.
06:04I could put it on a guide, and add yet another layer of motion to try to sell more realism.
06:10But in this case it wasn't necessary.
06:13So I always do that, as well, with the animation that I do.
06:16When I do the shape tweening, I never do the shape tweening on the outer
06:20Timeline, which would be this one here, because it's nice to have it tucked away
06:25safely inside a symbol, or even two symbols, so that I can have it contained
06:30and have access to the motion tweening tools.
06:32And so now if we look at the outside you'll see I've put another layer.
06:36It's the same scene, so basically we have in the Properties panel, you will see
06:40it's called Waves cycle.
06:43The one beneath it; it's the same scene.
06:46This is set to loop on Frame 1.
06:48Second one is set to loop on Frame 30, and that gives us a nice
06:52little overlapping action.
06:53So they are not both doing the same thing at the same time.
06:56I could add as many of these layers as I like;
06:58if I wanted to, I could animate different layers for that matter. But this is
07:04just to give you an idea about what we can do here.
07:07I Alt+Clicked and dragged to copy that layer, and I'm going to go into the Color
07:12Effect>Brightness and make it a little darker so we can see that.
07:18And I'm going to click on that layer, and make it Loop from Frame 50 in
07:20the Properties panel.
07:22And now when we hit Play we have three layers of waves.
07:26So again, like I said, you can right- click on these layers, you could duplicate
07:30that symbol, make a new layer.
07:32You would have to duplicate all the inner layers as well. And you could change
07:38the timing by moving the keyframes.
07:40You could change the animation now that you're working in a copy inside a copy.
07:44You could make this one completely different from the other one simply by moving
07:48the shape hints around, and create some pretty nice effects.
07:54It's popping there, because I've kind of broke it, but you get the general idea.
07:57I'm going to delete that now.
07:59So this technique, we'll be applying throughout the course, and to do other
08:03effects which will be equally as usable to you as this is.
Collapse this transcript
Animating clouds
00:00Now we're going to apply the basic techniques that we saw in the previous
00:03section of using shape hints to create a very nice little gentle animation of a cloud.
00:09Let's just hit Play, and as you can see, nothing is happening in the main
00:15Timeline. That's because it's set to play as a movie clip; that's how we access
00:18this nice filter effect that softens the edge of the cloud.
00:21So to see the animation, we have to go Control+Test Movie, and in later versions
00:25you've got to also select this Test thing. Control+Alt+Enter might work as well
00:29for you, depending on which version of Flash you're using.
00:32So as you can see, this is really nice. It's a very gentle, soft, natural
00:37feeling undulation.
00:39One of the big problems that you might have, depending on how you're going to
00:43output your animation.
00:44If you're ever going to render a movie, you might hit the awful problem that it
00:51does not render out.
00:53So be aware of this depending on your final output. If you are going to make an
00:59MOV file, or an AVI file, or a PNG sequence, I don't think you're going to have
01:03much fun accessing the Photoshop filters. And these are only accessible by
01:08clicking on your symbol, making sure in the Properties panel it's a movie
01:11clip, and then under the Filter section we have access to the different blur
01:16settings, and that's what I used to create that little blur effect.
01:20So I have to warn you about that before we go any further; before you could
01:22waste an awful lot of time and work targeting an output format that doesn't
01:26support some of the internal features of Flash. Be aware of this, and if you're
01:30going to take on a project of any size, take one scene, and test it through the
01:34entire work process to the end to make sure it outputs correctly, because you
01:39can really get hurt with that.
01:41If you're going to output an SWS file, this will be great. If you are going to
01:44output an AVI file, it's not.
01:45I'm going to assume for now that you want to see this in a movie file, or a PNG
01:50sequence, and maybe do some more work with it.
01:51So let's click on this, and we'll get rid of the blur. I'm just going to change
01:56the symbol from a movie clip to a graphic.
01:58And you'll see immediately we've lost the blur filter. I think it still looks pretty cool.
02:02Now I could render it out as a movie.
02:05Now we can see the animation working in realtime inside the symbol, and this has
02:10been a complaint of artist for years, so don't worry; you're not the only one.
02:14So here we go. And this should look familiar now.
02:18We have two keyframes;
02:20the Start Frame and the Stop Frame are the same.
02:23I could have made them differently, but I wanted this to cycle. And I could've put
02:27other frames in here to break it up, but for the purposes of the course I want
02:31to keep this simple to teach the basic principles of what we're doing here.
02:34So I want show you again how this is constructed. So I made one layer; it should be
02:39familiar if you've done the section on gradients, using the Gradient Transform
02:43tool, and that's bleeding off to a slightly opaque edge. Let's see here. I'll look in
02:48the gradient, and see what is; that's set to 0.
02:51And again, by sliding these colors around I can alter the falloff of the
02:56opacity of the cloud. And then on top of that I have a solid color area, and
03:01that's where all the shape tweening business is going on.
03:04So let's make a new one.
03:06To follow along, essentially all that you need is a symbol. Call it cloud, and make a rectangle.
03:14And let's make the rectangle solid white, and make sure that you've got the line
03:19set to this red diagonal stripe so that you don't have a line around it; you
03:23don't need that. And this doesn't have to be 100% precise.
03:26We're working with something that's pretty translucent. You can be a bit squishy with
03:30it. And let's zoom in a little more.
03:35And now with the Selection tool simply drag these corners. Actually let's just
03:41do it freeform. I won't even use reference.
03:43Now I'm going to hold down the Alt key and just pull this around; let's make a cloud shape.
03:51If you accidentally click outside the area and you tunnel outside, happens a
03:55lot, just click back in.
03:59I think I made one point too many, Control+ Z, and now I'm just going to pull these
04:04curves to make something cloud-like.
04:09The more gentle you make the curves, the easier it will be to make a
04:14pleasing undulation.
04:16Doesn't mean you can't go a little more aggressive with your shapes; it's
04:20something you're just going to have to toy with. It will depend on your project
04:23and your style. So there we have a fairly decent cloud shape.
04:29So the next step is to hit F6 here; make another keyframe anywhere in the
04:36Timeline, right-click, and create shape tween. It'll look green, and you
04:41should see a solid line.
04:42If you don't see a solid line, if you see dots, it means you've got something
04:45else; a symbol, or a group polluting the Stage, so you might want to
04:48reconstruct your cloud shape. Okay.
04:49So now that that's done, let's apply some shape hints, Modify>Shape>Add
04:55Shape Hint, or Control+Shift+H, and pop them down at that points that you want to be fixed.
05:01I'll make another one.
05:02Control+Shift+H. Pop it there, and you want them at the beginning and the end. The
05:08same point and the same place on each.
05:13Even with them, some shapes; strange things can happen. Always test it to make
05:16sure that you're solid.
05:17Now I'll make a third, and that will be C, and just put out the first point here.
05:22We'll make another C point, and just push it a little bit further on, like that.
05:30This would great for like a chimney fire, a horse rider you know riding from
05:35right to left and he is kicking up a cloud of dust; that would be just perfect for it.
05:39But I think what we want here is a nice Spring day. So something extremely slow
05:46that can be cycled over and over again, hopefully without catching the eye. And
05:50it's really nice to not have to worry about all of this by hand.
05:54So actually now we can just hide the original reference layer that I was using.
05:58And notice too, as I selected the lower layer, I'm seeing the shape hints for
06:03the lower layer transposed on the top layer.
06:05It can be really confusing. You can actually end up accidentally pulling points
06:09around from a lower layer when you're actually working on a top layer. So
06:12always be careful when you work that your active layer is the one that you're
06:16modifying. And it's just something that you've got to watch out for, I'm afraid.
06:19As you can see, when we add the lower layer, now we have -- and I hit Play.
06:24That's a really cute little cloud effect.
06:27Notice there's, like, a little lip happening there, where it doesn't
06:31quite overlap properly.
06:33My solution, the quickest for that would be, move the lower layer up. I'm using the
06:36arrow keys just to push that up a little bit.
06:38I could also have pushed the entire upper cloud layer down, but always be sure
06:42when you do that, when you move these elements around, that you keep an eye on
06:46the hints. If you do have to push that,
06:48make sure that the hints have followed by hitting Control+Shift+H, or modify shape hints.
06:53Because -- I find they are getting much better with this. In the earlier versions
06:56the hints would have stayed behind; in later versions they move with.
06:59Again, it's something that may change; it's slightly different with different
07:02versions of the program, so I'm just going to hit Control+Z to restore it back to
07:06normal; there we go!
07:08So, I think I broke something. I'm going to go back in here; hit Control+Z a couple
07:14of times. See how easy it is to break things. I think it's a C thing; how bizarre.
07:25So let's see, I'll move that hint, move A back there, move C in here, and there we go.
07:30So it was a nice demonstration of what can go wrong if you're not careful. Watch
07:33your hints very carefully.
07:34So now on the outer Timeline, we have our cloud. That's the basic principle on
07:39how we can use the same technique to create liquid, to create a gas, or a cloud,
07:44or something that's a blob. So with that, we move on to the next thing.
Collapse this transcript
Animating a flame
00:00This next section is a little trickier. We're taking the principles covered in
00:04the last two, where we did waves and the cloud, and we're now applying them to a
00:09flame, like you might see in a candle flame or a fireplace.
00:13So let's take a look at this; double-click on the flame image.
00:18This is the outer Timeline, where I have motion tweened the internal animation.
00:23That's shape tweening, so this allows me to undulate the shape up and down.
00:27Let's go inside and see exactly how it was done. I will resize the Timeline.
00:31So I am going to hide the upper tear animations for now, and just show you the main layer.
00:36If we look at in outline, get rid of that gradient, you'll get a better
00:39idea of what's going on.
00:40So what I have done is animated a fairly simple shape, just a little oval with a
00:46couple of points in the top, and then made some variations of that shape.
00:50So this one, obviously it's a little more extreme, and bobs back down again to a
00:55shape that's kind of a variant of the first.
00:58And then we have simple modifications of that. And I've used shape hints on
01:03these, and I will activate shape hints so that you can see the process. Let's see if
01:07I can zoom in without losing them; no.
01:09So, activate again, and then remove the new one.
01:12The new hint is in red, so let's get rid of that. So let's see here.
01:16As you can see, the transition from keyframe 1 to keyframe 2; I have locked
01:20these left and right points with an A and a B hint, and I have got a C and a D hint moving up.
01:25Now, if I show you the next one, the confusion element is going to kick in,
01:29because you're seeing the hints from the second key to the third key overlaid on
01:33top of the previous. So I am going to delete them temporarily.
01:35I will hit Remove All Hints, and now you can just see the first two.
01:40This is basically the process; A and B move to A and B a little higher. That
01:46keeps the overall form the same. C and D move just a little bit up.
01:52And as you can see, this curve here consists of two little lines, and by
01:59using shape hints I can coax it to looking like it's tweened into one single, smooth line there.
02:04Let me hide the hints, and you can watch that.
02:09So that's what gives us the illusion of a flame; it's a plasma.
02:14It really has a very liquid feel to it. It's dynamic, and it can drastically
02:17change from one shape to another, and that's what we're trying to capture with this.
02:21The other thing that I did in here -- let me go back in for a second -- to really
02:26finish off the illusion of the dynamic flame, is I added all these extra
02:31layers, which you can see: tear 1, 3, in two different sections, and they're
02:36breaking off all these little triangular shapes up at the top. And that's also
02:41helping your eye -- it sells this illusion that there is an upward momentum from the flame.
02:46So a lot to cover here. I cannot, obviously, walk through this entire process.
02:51There is simply too much going on. But I will show you the general principles of
02:54how this was created, and I think you will be able to figure out, based on that,
02:58exactly how you can use this system to make fire effects of your own.
03:02So I am going to frame in a little bit, make a rectangle, select the little
03:08white thing with the red line through it, so that you don't have a line around it.
03:11Let's make a vertical rectangle, hit F8, and we'll call it flamenew.
03:19Now we double-click on that, and we will work in here.
03:21What I am going to do is shape the first frame, so let's just click on the
03:24point. If you have snapping on, just make sure you switch that off so you can
03:28have a finer control.
03:29I am going to keep this much simpler than the one that you just saw. I am going
03:32to keep a flat ground, and we are going to work with just the top part.
03:41And maybe let's put in one more little bump.
03:43So if you haven't done this before, keep your shapes fairly simple.
03:48You want to get comfortable with the basic principles of the procedure, and don't
03:53feel like you have to go in with your very first shape tween fire and have 400
03:58points. You can certainly do that, but for now keep it simple.
04:02So that's our first frame. Let's make two more. We want to get, like, a
04:07really nice balance.
04:08If you remember from the first two sections when we did the water and the cloud,
04:12I only used a single keyframe, and then I duplicated that to the final point,
04:17and then we did all of the intermediate animation by varying the shape hints.
04:23It might be possible to do that here, but we will get a much, much nicer
04:27illusion if we can use more than one state, and then shape tween between them.
04:33So let's move on the second keyframe. I am going to move it up, and maybe change
04:39some of these curves.
04:41Changing the curve, or trying to blend two curves into one; that's really going
04:45to go a long way to creating the effect of liquid action.
04:51So now you see, if we go from one to the other, clearly we are not looking
04:54at a static block of wood.
04:57And the other thing to be trying to sell is this vertical movement.
05:01The flame is moving up all the time.
05:03No part of that flame should look like it's moving in the down position, unless
05:06it's tearing off and reacting. Like from here to here, yes; it's going to snap
05:11back into a lower state. But again, there's always that permanent upward drive
05:14from the flame, and we are trying to sell that.
05:17So I am going to bring this part down, and this part up, so now when we go from
05:20that to that, it will feel like a recoil. And I'll try to do a different shape here.
05:28Let's see what that looks like.
05:30So now we have three fairly different graphical shapes as I scrub through the Timeline.
05:35I am not quite 100% happy with this one, in the third one, so let's pull that down a little.
05:39Okay, let's see how that looks when we activate shape tweening. Just select the
05:44Timeline, right-click, and Create Shape Tween. Okay, not too bad.
05:47I am going to hit Play.
05:52So we get a nice little undulation dancing.
05:54Now, that vertical upward thrust that I was telling you about, we're obviously
05:57losing some of that hereabouts, but that's why we need to add a few things.
06:01We need to add these little triangular shapes that are tearing off somewhere up
06:04here, so that as one part recoils downwards, which is happening let's say here,
06:10from this point to that point. Perfect!
06:13Add another little triangular wedge ripping off, so I'll do that.
06:18First, make a new layer, empty keyframe, use the Eyedropper, make sure you have
06:24the same color selected so it matches.
06:26I am going to use the Rectangle tool and just drop in a little shape there.
06:30Now, that's a square by default, but you can select and pull the point, and
06:33now we have a triangle.
06:35So when we go from here to, let's see, from this high point -- I would actually
06:39have this triangle break off the one after that, so we reach the high point of
06:43that point here, and then when it snaps back, that's where the tear is going to happen.
06:47So let's push that tear down a little bit.
06:50And it doesn't have to be too big; something like that.
06:54And I'm going to have that move up.
06:59And I think we can just F6 to make a new keyframe. Hold down the Shift key and
07:04the Arrow key to push it up in some big chunks. And you could maybe even change
07:09the shape of it, and lengthen it out a little bit.
07:12And when that's done, right-click and Create Shape Tween. And if you get really
07:19weird behavior, you can add hints to that.
07:21So that will give you something of an idea as to how we can create these
07:25little triangular tears.
07:27Each tear, I think ideally, should have its own layer, and I would also add a
07:33blank frame following it.
07:34And once you are happy with this, you can take these, and hold down the Alt,
07:38Option key, and drag them.
07:39You can lengthen it and add more tears that overlap along here, which is how I did
07:46the original in the Exercise file.
07:48Let's have a look at this. And so, as you can see, the tear looks really nice.
07:52And it's just a question of adding more tears.
07:54Be careful that the timing of all the tears can be a little bit different.
07:57They don't all have to be 2, 3, 4, 5 frames in duration. Some could be 4, some
08:02could be 6, roughly the same, but slight differences in spacing. Slight
08:06differences in timing are always good to give this a more natural feel.
08:10If you want to get a little braver with the shape tweening, because I think we
08:13got a little bit lucky with this one, it was really nice the way these shapes
08:17tweened into one another.
08:18What I would also do would be maybe add some shape hints if you think
08:24you want to Control+Shift+H to add more hints from this one. Let's put this down
08:28here. Oops, I think it was A, B, left, and right.
08:35What happens, for example, if I add a hint here, and then if I move it to there? Oops!
08:40See, this one completely wrecked the animation, so maybe I will move it here.
08:45And now we get a very different feel.
08:47And I will remind you again, back up your file before you start throwing hints
08:51around the place, because they do have the ability to crash Flash. And it's nice
08:56to set up your scene, save it, and then start applying the hints.
09:00So I could apply, and make sure that you always activate the level that you are
09:04actually applying the hints to, Control +Shift+H. Let's put a D Hint here.
09:10What happens, for example, if I put it to there?
09:13So it's breaking up that almost too smooth tween that we were getting by
09:17default, from here to here is the same keyframes as from this block here.
09:23So let's see the difference.
09:24This is the animation between the two states with the hints making it a little
09:29more erratic, and this is the animation without hints.
09:32As you can see, this is almost too clean. Well, it is too clean. By breaking up
09:38the animation, by adding some hints, and putting a little bit of chaos into the
09:42animation, we have made it look a lot better.
09:44And so once I do something like that, then I would obviously like to copy it.
09:48So one way of doing it would be to repeat my original process, and copy and paste,
09:54so we have the same action happen twice.
09:57I could even break up the second section if I want to have, like, different
10:01variations, and see if that works.
10:02So each one of these transitions would be unique, which also helps to make
10:08your cycle less obvious.
10:10You might find that you're going to have a multitude of hints overlapping. As I
10:15said earlier, that can be confusing. So you might want to make new layers, and
10:20have each of these steps in your cycle --
10:22I am just Alt clicking and dragging now, and removing the lower ones; clear keyframe.
10:28You might want to do something like this so that each one of the blocks of
10:33the action have their own Timeline. And that would actually enable you to clearly see --
10:39and let me just delete these.
10:43This is really going to enable you to have more visual control over the
10:47different hinting steps.
10:50It does create more layers on your Timeline, but it dose clean up the process of
10:55doing these processes.
10:58So that I think covers how I would treat a fire animation.
11:05And I think what we can do is this; if we wanted to cycle this, it would be
11:07pretty easy. Let's do that.
11:09And so what you will be doing will be generating discrete blocks that keep
11:13your Timeline clean. It helps your brain to keep track of all the different
11:16things that are going on.
11:18So let's just play this one more time; I am going to zoom out. There we go.
11:23And we can probably get rid of that little block at the end. There is no reason for that.
11:28So play around with this. Have fun with it, I hope.
11:30Anything that saves you from having to draw these erratic plasma and liquid
11:34effects by hand is a very good thing in my book.
Collapse this transcript
Animating an explosion
00:00Now we are going to do a different kind of effect. Previous effects that we've
00:04been doing have been entirely dependent on shape tweening, and using the internal
00:09processes of Flash for the most part. Now we are going to try something that's a
00:15little more traditional.
00:17Flash has its built-in brush tools that you can draw with, and this part of the course
00:21will be particularly useful for people who have a drawing tablet: a Wacom
00:25tablet, a Cintiq, or one of those devices.
00:27You could, I guess, draw this on paper, clean it up with a marker pen or something,
00:31and scan it into your computer. But it's also possible to tough it out and do it
00:36with the mouse, so there's different methods that we can proceed with.
00:38What I want to do right now is show you the basic procedure for roughing in your
00:43own effect stuff. You could also probably use a series of nested symbols instead
00:47of drawing this thing curve by curve.
00:49Anyhow, I am going to hide the lower sky. I don't need it, and I will show you
00:53how this was initially assembled.
00:55The first thing to do is not to get lost in these little details, and there's a
00:59lot of stuff happening here.
01:01The main thing to do is to realize you're dealing with an expanding form;
01:05it's got a structure to it, even though it looks chaotic.
01:08So in this case, we have the initial ball of smoke which expands, poofs, and
01:13dissipates. And I have set this circle to shape tween, and this gives us basically
01:18our parameters in which to work.
01:19So then as you draw each frame you can essentially match the outer line of this
01:25red ring for your work.
01:27Now obviously this is far too detailed for me to be able to go into every single
01:31frame; it would take hours.
01:33So what I will do instead is just show you the general principles of how I
01:35would approach this.
01:36I am not working right now with a tablet; I just have a clunky old mouse.
01:40So let's make a new symbol.
01:41I am just going to hide this one. Make a new layer.
01:44I'll start with the Oval tool, just make a little circle, and I am going to make
01:50that a symbol right away so I work internally within that.
01:53We'll call the smoke ring, and let's make it centered, because it's going to have
01:58its center of mass right in the middle, so click OK.
02:01Now if I right-click on that and click on Edit, now we're comfortably inside the
02:06smoke ring symbol, and we have lots of room to play with.
02:09So first thing I want to do is to make a red line that's more like the original.
02:13So let's grab this, drag it down and pick red; whatever hot color you happen to
02:19have on your palette.
02:20If you're not seeing my palette, we cover that in an earlier course; how you can
02:23basically setup your palette to look a lot more like this. Although the default
02:27palette that comes with Flash also has plenty of colors that you will be able
02:30to use if you prefer.
02:32Okay, so I am going to reselect that red, and we will select the Ink Bottle tool
02:37and paint that. You'll see, if we go in closer, there's now a red outline there.
02:40I want to get rid of the inside color; Control+X, or Delete.
02:44Let's make our really quick little expanding circle. F6, and have the outer
02:48ring happen around 12, and F7 so that we have an empty space after that where it dissipates.
02:55So use the Magnifying tool to zoom out a bit, and let's see, let's select the
03:00second frame and hit the Free Transform tool;
03:03if I hold down Shift and Alt, so that's what we want.
03:07So this will be the ring that we will use to expand, and I want a shape tween
03:11here, so Create Shape Tween.
03:14If you motion tween by mistake, then just hit Control+Z and go back. And I want this
03:18to ease out all the way.
03:20So it starts fast, and slows out. Now 100 might be too much, so let's try 90 instead.
03:27Nice. Okay so once we have that, padlock it. That's just our guide, and being a
03:32guide layer for reference, let's guide it out.
03:33When I say guide, I don't mean make your layer beneath it a child of that; I just
03:37mean keep that as a guide layer so that when you look at this on the outer layer
03:41you won't see that ring. It's only there for drawing reference.
03:44So the next thing that I would do would be to select all these frames, and hit
03:47F7, and that gives you a series of blank keyframes to work with. Now let's
03:51go in a little bit tighter.
03:52Now we have access to the Brush tool here, so let's click that.
03:56If you don't see it, it might also be the Spray Bottle tool, but we want the Brush tool.
03:59And let's make our line nice and black; this will be the outline. And our brush
04:05selector, so we'll take the small one.
04:07If you have a drawing tablet you can select this to have access to pressure
04:11sensitivity, which is really nice.
04:12Now that circle there is a little too big for me, so I'm going to change the
04:18outline color. We can make a red as well, just like the line.
04:21That way when we look at it it's a little bit thinner.
04:23Okay, back to Layer 2.
04:25Essentially use this outer line as your guide for the various shapes that you
04:30are going to be drawing.
04:31And I stress again, I'm drawing with a mouse, so it's probably the worst possible
04:36drawing experience a human being could have. It's pretty hard on the elbow.
04:41You get the general idea, and if you have tablet, you can really fly at this;
04:44actually a lot of fun with one of those tablets.
04:47I only began using the tablets recently, and I really wish I had done it a long time ago.
04:51So anyway, with the red line as your help -- you can go outside of it, or inside of
04:55it. You don't have to slavishly adhere to the contour of that red line; better
05:00if you actually do push these lines into a slightly more varied position.
05:06I have been warning people throughout this course that when you apply shape
05:09hints that's Flash is prone to crashing.
05:12I used to work in a TV animation studio where the Brush tool was used a lot by
05:16the artists there, and that also, I hate to say, will crash the program.
05:20So if you get to a point when you think, that's nice, I like these; save your
05:25file. And I would advise you to use sequential frames.
05:27So if you are going to call this one explosion_1, I would put an _001, and the
05:33next say would be 002, and so on.
05:36So I have loads to fall back on if something goes horribly mangled.
05:40If you remember from the earlier sample; right now the first few frames are pretty simple.
05:44When you get to the outer edge, here of course, we begin to break up the
05:47smoke into smaller particles. And the thing to keep in mind when you hand
05:52animate effects like this: irregularity really helps to sell the idea that
05:57this is a natural effect.
05:58So somewhere around the middle this thing is going to start breaking up into
06:01clumps. We'll move this down a little.
06:06If you find that this is a little cumbersome to work with, the other way that
06:10you could create this object would be to select the Oval tool -- and I am going to
06:14deselect that outline, we don't need that line -- and you could draw the entire
06:19thing as a series of circles or ellipses.
06:22They might look somewhat crude right now, but you can always go back in later
06:25and soften these edges off a little bit.
06:28So, for example, you could select the Brush tool, pick a larger brush, or maybe
06:32a medium one here. And then go over it and make these shapes a little more
06:38pleasing; a little less geometrical, like that.
06:40I've been doing a lot of scenes like this recently, and you just have to get into
06:45very relaxed state of mind. Not the kind of thing you want to do if you're super
06:49stressed out or anything.
06:50Just take it easy, and sit back, put on an audio book, or some music, or something, and
06:54start drawing all these cool little shapes.
06:56So that's basically the process. We'll go ahead and fill these.
07:00We have, obviously, these empty frames, so you do have to toggle back and forth
07:03quite a bit as you begin filling in these transitions. For example, where does
07:07the black cloud begin to break up.
07:09So the other thing that you can do, if you want a quick cheat, I would copy that,
07:13and I would Control+Shift+V to paste it in place. And then use the Transform tool,
07:19maybe twist it, and cheat by pushing this out to a different position. Then you
07:25could go back in, make any modifications or changes, use the Erase tool, and then
07:31start to break out the inside as this big cloud of smoke and dust begins to
07:35break into smaller pieces. And then you have these in-between frames.
07:39So same process; I might go Control+C, Control+ Shift+V, maybe move this again; we could even
07:46twist it horizontally. Anything to break it up
07:48so you don't see the same two shapes occupying the same physical space. I can
07:52just stretch it to match that little red outline.
07:55And I think at this point I probably would like to start to pop a hole into the center of it.
08:01So this is the basic process that I would use to create little smoke and cloud
08:06rings. And if you look at the original, on this one of course I have a black
08:10outline, and a gray inside.
08:12If I wanted to achieve that kind of effect, it would be pretty simple.
08:15I will just show you one sample frame. Go into this image, select a gray color,
08:20and select a black one. Back to the Brush tool, small, and then just go in and
08:31again -- and it comes down to again your comfort level working within whatever
08:35constraints you happen to be working in.
08:37I wouldn't recommend drawing these with the mouse for any extended period;
08:41you will probably end up with a pain in your elbow.
08:43But as you can see, it's quite doable.
08:45If you follow these procedures I don't think you'll go too far wrong.
08:48So with that we will move on, and I'll show you how we can take these basic
08:51techniques, and then apply them to take our original smoke ring, that is this
08:58creature here, expand on it, and make it a little more interesting.
Collapse this transcript
Adding in-betweens to the explosion
00:00Now we are taking the original little smoke cloud that we did from the previous
00:03section and adding some extra frames to slow down the animation a little bit.
00:08This gives the cloud a little more mass.
00:11I find when I do these that number one alteration I have to make is I need to
00:16add some in-betweens. So it was easy enough to make the change on this level, of course.
00:21All I had to do is go in here and hit F5 to make that longer.
00:25I am going to copy this layer by Alt+ dragging, and I'll show you what the
00:31first pass of this process looked like. So, I want to remove the in-between
00:36frames that I've created for this to take us back pretty much to where we
00:41were in the previous section.
00:46So the first thing that I would have done was simply to take each of the frames,
00:50and hit F5 to add an empty placeholder.
00:53This is now moving at half the speed that it was.
00:56Now bear in mind that the frame rate of this project is 30 frames a second, so
01:02when we take these frames and expand them, what we are doing is making it
01:07effectively play at 15 frames a second, because each image is being held for two
01:11frames rather than one.
01:13So it's slows down the speed, and gives us some more mass, but it also makes it chuck.
01:17And the solution is to draw these in-between frames.
01:21So this is one of the in-betweens, this is another, this is another, and
01:25another, so on. And that's the action smoothed out by doing these in-between frames.
01:30So what I am going to do is show you the process of creating an in-between frame.
01:35If you have your access to these files, you can follow along. If not, any shape
01:38will do, actually. You can quickly rough in any two cloud shapes, and then see
01:42what the process is.
01:43At least this is the process that I use; there is different ways of doing it.
01:47I find that if I want to get from this frame to here, I need to add an in-between
01:53frame that's going to go in this slot. I need to place these things on layers,
01:58so that I can see where I'm going from, and where I am going to.
02:02So I am going to click on the second frame, hold on the Alt or Option key, and
02:06drag it up, and then over. And I am going to hit F7, here and here, here and
02:13here. And so the only layers that I have active are the lower frame in outline
02:20red, the upper frame in outline green, and the in-between frame which I am
02:26going to draw here.
02:31So let's select the black color, and effectively it amounts to this: drawing lines
02:40between lines. And this is how animators did effects in the good old days, or the
02:51bad old days if you prefer, when everything was done by hand. And you might say,
02:55"Well, why am I doing this by hand?"
02:57Well, there are times when it's handy to be able to do particular effects on a
03:01frame by frame case, and you simply can't get results that are very hard to achieve
03:07if you are working entirely digitally. And of course I will stress again, I am
03:11doing these somewhat clunky little drawings with a cramped little mouse, but
03:16again just to show the fact that it can be done without any fancy equipment.
03:20So the next thing to do is just to fill this with the right color.
03:23So I am going to select the Eyedropper, and that's the inner gray there.
03:26Let's hide everything except the layer we want to paint, and let's paint those.
03:31That's our in-between frame.
03:38Next step is take the in-between and drop it into place. And then just do
03:44some housekeeping and drag all these empty frames away.
03:47You might want to keep these two layers here as placeholders. So let's have a
03:52look at how that plays.
03:53So that is the process.
03:59I didn't say it was going to be quick or fun, but you repeat this process for
04:03all of these transitions. And I find, with a really nice effect smoke cloud, the
04:10reason why this is worth doing is I use them a lot.
04:13If I have a little library of four or five smoke explosions, I can get enormous
04:18mileage out of this.
04:19I'll polish it, I'll clean it up, I'll add more details to it. You'll see this
04:23in the next section: how we can take this existing smoke ring, which we have now
04:27doubled in duration, and how we're going to improve it, and really make it look
04:32like a lot more than you're seeing right now.
Collapse this transcript
Adding explosion clusters
00:00In the previous section I showed you how to take an animated smoke ring, and how
00:04to add some in-betweens if you wanted to choose slow it down; give it a little more mass.
00:09Now I'm going to show you how to take that and replicate it in a series of
00:14nested symbols, so that it looks a little more interesting, and this will be the
00:19final effect that we're going to achieve.
00:21Now you'll notice it's looking a little pixely, and that's because when I have this
00:25many symbols working nested,
00:27oftentimes I like to change my Preview mode.
00:30You can go to Outlines, which really isn't much use for what we're doing
00:34here, or you can go Full. And normally we work in Full mode, and that let's us see everything.
00:39Let's see if a Flash can keep up with this.
00:41You'll find if you play with this many nested symbols --
00:45I am on a really nice computer, it's keeping up. Your machine at home may have a different speed,
00:51and if you were to do something like this you might find that when you get to
00:55this point you'll start seeing something like this, and then as it gets to the
01:00end it will speed up again.
01:01The speed will ramp; it won't be consistent.
01:03So there is a couple of ways around this, and of course one is to go to
01:06View>Preview mode>Fast, and that takes off some of the anti-aliasing,
01:11So it makes things play a little bit quicker.
01:13So even on a fast computer it will go even faster or more consistently at the
01:18speed that you want.
01:19The other thing that you can do is simply render this out as a movie.
01:23So you'll go File>Export>Export Movie, and export it as whatever movie format you prefer.
01:29Everyone is going to have a different movie format on their computer
01:31depending on if they're on a Mac, or a PC, or if they have different video
01:36compression formats downloaded.
01:38So I'm not going to go too deeply into that. But the other way of doing it, too, is
01:41to go out, say Control>Test Movie.
01:44And you'll find this plays faster than internally inside Flash, for some reason.
01:51I think this program has a smaller little footprint; it's certainly more frame efficient.
01:55So you will come closer to seeing your desired end product in this. But bear
02:00in mind, it's just not as reliable as rendering up an actual movie, but it's much quicker.
02:04So you may move between all these three systems.
02:08So that said, let's go into -- I'm going to just hide some of these, and I'm going
02:12to go into one of these little clouds.
02:14And it looks like a pretty intricate thing, so let's see how this is built.
02:20So the symbol itself contains the familiar smoke ring.
02:25Let me just look at one of them; so here it is.
02:29And that should look familiar. That's pretty much the same one that we had from
02:32the previous section. That's all it is.
02:35So the effect of a more varied cloud is achieved by offsetting the same symbol
02:43at different points in the Timeline, and also by scaling them.
02:46If you click on some of these you'll see that the little blue line is rotated.
02:49If you look at others, they are flipped horizontally.
02:52So by scaling, rotating, and flipping on the horizontal axis, you can trick
02:57the eye. And the other trick that we use is to play with the brightness of some of these.
03:02So the ones in the lower levels I've given a lower Brightness of say -30% or 33%.
03:07Some of the higher ones, this one is -6 in the Color Effect setting in
03:13the Properties panel.
03:14And that also creates the effect of depth: that we're looking at an object
03:18that's a little more complex.
03:20So let's go to View>Preview mode>Full, and again we can have a look at this.
03:28The quality of the line isn't fantastic, but everything is moving so fast it's
03:32really kind of hard to notice that.
03:33So I'm going back to the outer layer. And then each of these clouds I've also
03:39compiled on the main Timeline, in these little mega clouds which are yet more
03:44examples of these nested.
03:45So in each one of these symbols we have 12 layers, and then we have four of these.
03:52I can add as many of these as I feel like. So I'll just make a few new layers,
03:58and click this keyframe, hold down the Alt+Option key, and drag, and let's copy
04:04the new one, which I can then drag around to a new point.
04:09If I feel like I wanted to start in a different frame, I can select that symbol,
04:12and say start on Frame 3. If I want to rotate it,
04:15hit the Free Transform tool, and you see as I rotate it, it's showing me the
04:19entire area of motion of all the entire animation inside.
04:23This is absolutely fantastic if you want to create a really huge explosion effect.
04:29So if I hit to hold down the Shift key and the arrows I can move this around,
04:32and rotate. Maybe make it a little bit smaller; kind of tricky, but it can be done.
04:40So if I wanted to add more detailed explosions and pops on this, there you go.
04:44Just like the old Warner Bros. cartoons when Wile E. Coyote would blow up TNT.
04:51So that's the methodology that is good to use.
04:54To set -- the same principle that I just showed you on the outer clip applies to the inner clip.
05:01So any change that I make now to this internal clip will be of course mapped
05:07onto the four or five on the outside.
05:10I will warn you that the more of these that you add, as I keep duplicating these,
05:15the slower the computer will run.
05:17So you must remain conscious at all times that your computer has only so
05:22much processing power.
05:24So keep an eye out for it;
05:26you'll feel your machine start to slow down a little bit, and if when that does
05:31you might throttle back a little bit on the number of these nested articles. But I love them;
05:35I love the effect of seeing a bunch of these things coming together to create this
05:40really astonishing level of visual detail.
05:42Now you're seeing there, something is happening where these things are locking,
05:47and let's go in and correct that.
05:54And that's probably because there aren't enough frames on this internal Timeline.
05:58So I'm going to make a little column there, and do some more. And each one of
06:03these symbols is set to play once. This is the other thing that's important to watch out for.
06:07If this is set to loop, then they'll just keep looping, and
06:10you'll get all kinds of crazy effects that you don't want.
06:14So when I do these kind of things I like to make sure that everything is just
06:18set to play once, unless I have a specific need to loop.
06:21Flash likes the default to loop.
06:23So again, something that you need to keep your eyes open for. And if you see any
06:27strange little things happening at the corner of your eye, also just go into
06:31Outline mode, and you can usually target whatever layer is being a culprit.
06:36So the next step will be to find ways to finesse this and make it even
06:41more capable.
Collapse this transcript
Optimizing the explosion
00:00So now what I'm going to do is take the previous animation of the smoke cloud
00:05clusters, and find a way to make it a little easier for Flash to handle this.
00:10There is an awful lot of layers going on here.
00:13Let me switch off the sky, and just look at these in Outline.
00:17So let's take two of them, and as you can see, where they cross the material on
00:22the yellow layer is actually mostly invisible. There is no need to have that
00:26being thrown around by the engine, so there are various ways we can flatten this
00:30out, so let's take a look at how.
00:32So I'm just going to go into one of these symbols, let's right-click on the top
00:35one, and we go Edit. And again, we have yet more nested symbols.
00:40I want to find a way to flatten these into one completely self-contained image.
00:46The first step to do that is to go as deep as we can, and remove anything
00:50that's not needed. That will be for one, this reference layer. And I'm
00:54assuming at this point that you don't delete any of your previous work. I would
00:58do all of this work on a new FLA file, just in case something goes wrong.
01:02So let's delete the reference ring, and now we'll go back into here. And I think
01:07probably the quickest way to do this is just select everything, and hit F6;
01:12that's a lot of black dots.
01:14So the next step will be to Edit Multiple Frames, and then to the right of the
01:21multiple frames icon -- they've changed the naming of this in the latest versions
01:24of Flash, but you will have something like Edit Multiple Frames, or some other
01:28word there, and I would select that.
01:31Once that's done, you should see this grayed out area with these little black
01:35brackets at the top of the screen, so that means everything is now
01:38potentially selectable.
01:40So we'll hit Control+A, and you'll see a lot of lines surrounding all your symbols. And
01:45then hit Cintril+B and wait a moment. Depending on the speed of your computer, this
01:50could be a fast or a slow process.
01:51If it's really a slow process; sometimes I do it layer by layer, and it does
01:55require a little bit of patience.
01:57So there we have our explosion. Let's switch off Multiple Frames now, where you'll
02:02see everything at the same time. And we're still on layers; the only
02:07difference is they're not symbols anymore.
02:08So this is actually maybe a little less efficient if anything. So the next thing
02:12to do is to flatten all of these columns of symbols into a single layer.
02:17So at this point, I think it's good to know about this great Web site called
02:21toonmonkey.com, and these are free extensions for Flash.
02:25And the one that's super useful would be Merge layers.
02:29Very simple to download from here, and you install them using the
02:33Extension Manager in Flash.
02:35Once that's done and installed in Flash, you'll find that under your Commands menu.
02:40We covered in an earlier section how to install extensions, so no need to do that now.
02:45I'm actually not going to do that, because once in awhile, merged layers
02:50doesn't like something, and it won't work.
02:52So I would say it works maybe 95% of the time, but that's why it's good to know
02:56how to work around it when it doesn't.
02:57So first of all, let's make a new layer. Fill it full of empty keyframes by just
03:03hitting F7. And what I'm about to do is change the outline color, right-click
03:09on that layer, and this new layer, let's give it something strong like black
03:13that we can't miss.
03:14I'm going to change all these lower layers to Outline, and then in the first
03:19column select all of them, copy them, and in the top layer Control+Shift+V, and you
03:25should see the new artwork pop down, and it should match exactly the one
03:29beneath. Same thing, very carefully to the next one, Control+C, and then on the top
03:35layer, Control+Shift+V. As we move from one to the other, these might be a little
03:41bit confusing, because some of these outlines are different colors.
03:45So you might find it easier to make them all consistent. So make them all red,
03:50or green, or whatever.
03:54So again, when I copy here, you'll see that's beautiful; perfect!
03:57So where before we had, in this case, seven layers, Control+Z, Control+Shift+V: we have
04:03one layer, and it is helping us to remove all of the intersections.
04:11Okay, that was great fun!
04:13I want to scrub back now and check everything; make sure all my cutting
04:17and pasting went okay.
04:19So basically if I switch off my upper layer, this black outline should pretty
04:24much match the one beneath it.
04:26So I'm just going to pick a few of these. Make sure everything went
04:29normally; looking good.
04:31So as you can see I've got many of these, and where before there were 12 layers,
04:35now I can delete them, and I've only got one. And Flash will thank us for
04:40that when it's starting to create larger clouds.
04:42So now each one of these symbols, which used to be 12 nested symbols, is only
04:47one symbol. So now we have four nested symbols, where before there were 48, or 50,
04:52or whatever it was.
04:54So we can now, guess what? Do the same thing here, and we're almost there.
04:59So let's hit F6, for all of these, same with these, and here, and there.
05:18Look at these one by one; I think just test that they pop out at the right point. So
05:23if you want, you can make a blank -- F7 for an empty frame
05:27there, so we see exactly how much stuff we have got.
05:29Identical Procedure: Edit Multiple Frames, Marker Range All, Control+A to select
05:36them all, Control+B to break them apart. And then switch off Edit Multiple Frames,
05:43make an empty layer, a lot of F7s up there to make our new flat layer. And the
05:56same process as before: Control+C, Control+Shift+V.
05:59I'm going to put the top layer into Outline mode, so that as I go I can just
06:06very quickly double-check to make sure -- and actually let's make it black like
06:10the other one; right-click Properties, black outline, there we go.
06:19So I'm not seeing it until I actually paste it in.
06:21I'll make it solid instead then, that way I see it immediately.
06:32So now we have our top layer done, and it should be identical to the four nested
06:38layers beneath, so I can delete them now. And now we have one layer, and this
06:44one layer will definitely be played faster than the ones beneath.
06:48There's things that we can do on top of this now. We can optimize the shape,
06:52Modify>Shape>Optimize. And depending on how you want this optimizing to work,
07:00sometimes you can be more aggressive with it than might be needed, so be
07:03very careful with that.
07:04Let's go into the Full mode now so we can see where we at, and that's
07:09probably pretty clean.
07:11And if let me go into Outline mode; you can see, it looks like a single drawing.
07:16So at this point I would save this as a final project file, and I think that
07:20gives you a very good idea of how you can do some traditional animation, but use
07:25some of the Flash tools to help you construct extremely complex forms.
Collapse this transcript
Animating smoke with particles
00:00This is an example of a hand-rigged particle system in Flash. And sometimes, even
00:05though you can do this obviously in After Effects, and other programs.
00:08And if you can do them, by all means be my guest. It can be done, and
00:12here I'll show you how.
00:14So the way I build this system: I'm going to tunnel all the way inside, and work
00:20my way out. I think it'll make a lot more sense that way.
00:22So at the very root of this structure of symbols, we have the particle.
00:28Now you'll see the path; the smoke 1 is inside smoke 2, smoke 2 is inside smoke
00:333, smoke 3 is inside smoke 4; don't panic.
00:37So here we have the particle, and it's a flat solid color area. Although the
00:42final particle that we'll render out is currently guided out as a gradient layer.
00:46And the reason why is because if I guide this in and guide out the solid, and
00:53then we begin animating, it'll be very slow;
00:56you just won't have the same kind of response that you would like to have.
01:00So when I'm working on this, I like to work with just a placeholder.
01:03So again let me reverse that, right-clicking, and guiding in and out.
01:08So we can see exactly where we are. I mean, these are both exactly the same shape,
01:12and they occupy the same size.
01:14So it's a true representation of where the animation is going to go.
01:19On the second symbol in which the particle resides, I'll you show one of these
01:23layers; it'll make more sense.
01:24I just made a little undulation cycle and I duplicated this four times so that
01:30we have this nice little throbbing, and then they just dissipate.
01:36And then we have -- the particle is emitted from this point, and we've motion
01:41tweened it up and away.
01:44And then by copying this onto 20 different layers, changing the sizes, changing
01:50the rotation, flipping some of them horizontally, then you get this nice
01:55natural-looking cloud, dissipating.
01:58And then the last touch, if you really want to add another layer to this, is to
02:02duplicate the cloud, and create a smoke effect.
02:06So that when we get to Frame 30, I fade in another one of these,
02:10and I can do as many of these as I like.
02:12I could do another 20 levels of these things, and just have a constant cloud
02:16of smoke coming up.
02:17So having shown you that, let's build one of these systems from scratch.
02:21Now I'm not going to build anything like as complex as that; I really just want
02:25to show you the basic principles of how this system works, and how you can really
02:29push your computer to the best of its limits.
02:33Let's make the first particle;
02:35it's already appeared as a gradient.
02:38Okay, delete that frame.
02:41So here's our particle. I'm going to go with that, hit F8, and we'll call this 1 particle.
02:49Let's click in there.
02:52Now we want to have our guide layer, so let's make a new layer.
02:56Hold down the Alt key and drag, and so our finished layer will be particle.
03:02It's very important with this that you name your layers really, really well so that you
03:05don't get too badly lost in them.
03:07And we'll call the lower layer reference. And obviously, we don't want the lower
03:11layer to be a gradient, so let's just click on the color and make that just a
03:16regular old black or maybe gray is better. Okay.
03:21So that's what we'll be seeing for the time that we are actually
03:23animating this in Flash.
03:26So now we have our particle.
03:27I might be a little big. I'll go in and make it a bit smaller.
03:32Make sure we make both of them smaller. I'll hold down the Q key for Free
03:37Transform, and I'm going to pull that in, and use the arrow keys to center it.
03:44Now the next step is to make our cluster.
03:46So I'm going to select the particle, hit F8, number 2 cluster, and
03:55double-click again.
03:56So now we're inside the cluster symbol.
03:58It's very easy to lose your place in this because everything looks visually the
04:02same, but that'll change soon as you begin to add little animations here.
04:06So what I want to do here is keep it reasonably simple, so just two more
04:10layers are fine. And I'm going to copy the particle holding down the Alt, Option key to there.
04:15And I'm going to make a 30 frame long action, where these particles move and dissipate.
04:21So I hit the F5 key to put in some blank frames there, and actually let's just hit F6.
04:27I'm going to just grab one at a time. I'm going to just move them out, so what we're seeing
04:34is these particles are now moving out into little triangular pattern.
04:38So let's select the Timeline, right- click, and go Create Classic Tween.
04:43And so that's pretty much what's happening.
04:45And we can beef this up a little bit; Free Transform tool and scale some of
04:50these into different shapes or sizes
04:55So it doesn't look all the same size. I'm going to zoom in a little bit, and
05:00we'll offset these very slightly, and use Free Transform, Q on the keyboard.
05:08And if you feel like,"They're all on top of one another, I can't!" I would just
05:11pull them all apart.
05:15And you can drag them back in until they're more or less over one another.
05:21And there's a little funky little rotation movement there;
05:23if we go into Outline mode, we can see, okay, the orange guy, maybe that's a bit
05:27eye-catching, so let's pull that in. Purple, it's okay;
05:33maybe the green could be a little bit further out that way.
05:37Okay, and I would also like them to dissipate into pretty much nothing at the end.
05:43So I'm going to hold down the Shift key, click on them to select them all, color
05:47effect in the Properties panel, select Alpha, and they're now at 0.
05:51So now we have a little three-particle cluster that's going to dissipate for us.
05:58So back to the main Stage and we will, guess what:
06:02start another symbol. Hit F8, 3, and we'll call this one cloud, and
06:12double-click on that again.
06:13And what I want to do first is just animate one of these little particles
06:16floating up into the air. And it will be a short little action; this is pretty quick.
06:21I've made it 30 frames. You can make it 100 if you want something a little more elegant,
06:24but let's make it little simpler to do.
06:27So all I want to do is to move this particle on little S curve up to the top. So
06:33I'm going to select the Line tool, and make sure that Snap to Object is on.
06:38It's very important that they really connect properly.
06:42Let's name these, so we'll call this one 1 path, and 1 particle.
06:52So I'm going to hit F6 down here, make a new keyframe, I'm holding down the
06:59Shift, I'm moving the arrow keys, just to get it out of the way, and then I can
07:03drag it until it snaps to the end of that line.
07:08And now if I curve that line -- it's not a guide yet, so don't worry about that.
07:11And now we can switch the Snap to Objects off, because I want to do some finer work.
07:17If I hold down the Alt key and click on the line, I can curve it into a nice
07:20little S shape by adding a new point.
07:23That's not too bad. So now right- click on the path and say it's a guide.
07:29It won't work until I drag the particle layer directly into the guide. And now
07:35if we follow this animation, it's not quite working yet; we have to activate tweening.
07:40So we right-click on the particle, Create Classic Tween, and you'll see that's
07:45really nice, it's following the guide.
07:48So now we can make a few more of these, I'm just going to make, say, four more.
07:54And the quickest way to do it is simply to select the path in the particle
07:59layers, hold down the Alt key and drag, or right-click and go Copy Frames,
08:06select your target layers, right-click, and go Paste Frames.
08:09But I think Alt is quicker, so I hold down the Alt or Option key and drag these.
08:13Now we have a bunch of these layers but they're all the same, so let's padlock
08:18the bottom two layers.
08:19And they were called the same, so with enough time I'd actually go through all
08:23these and number them, 2.
08:24I can't stress this enough actually, and you really need to keep on top of your
08:29names for all of these layers.
08:32They can become very confusing, so it's the question of having a good
08:36disciplined work process.
08:39There's the first layer here.
08:41If I, for example, just select these two, and hold down the Shift key, and move
08:46the arrow up by one-click. Do the same at the end of the Timeline for the second
08:51key. I've already shifted them off a little bit.
08:54Now I can go in and fine-tune them, maybe stick with the guide, so I'll just move
08:58the guide around, there we go.
09:00So by moving the guide, actually, in this version of Flash -- all the versions of
09:04Flash seem to be slightly different in the way they handle this,
09:07but this one seems to be glued to the symbol, which is okay.
09:11So now I can go in to this little fellow, and just hit the Free Transform tool or
09:16Q on the keyboard, maybe rotate that symbol. Scale it a little bit to vary the
09:20position. Definitely vary the flight path.
09:23So let's just do something that's slightly different from the first one; maybe
09:29change the end state too.
09:30I'm going to hide these; aah!
09:40There it is!
09:41So don't be afraid to hide layers; switch them on and off if something goes missing.
09:44I going to switch Snap to Objects on, because the final frame of the symbol is
09:49actually an empty blank square, so it's kind of getting a little difficult to
09:52find it to select it.
09:54So what I'm going to do, another little trick with the guides, double-click on
09:57that, and I'm going to put in an empty image. It will be ultimately guided out later on.
10:04Let's give a default color so we can't get confused; make it an orange. Drop it there.
10:11And now when I work with these, we'll see this little orange layer that will help us to select it.
10:16So let's make the guides reactive again; they were following that path.
10:20I think we can make that path more interesting. Let me padlock that off. Okay, better.
10:24Let's now zoom out, and if I look at both of them together, and switch off the
10:34guides, you see that they're looking kind of the same.
10:38So I think we should rotate one of these. Still it's kind of similar, so
10:51probably the start state too.
10:52So I'm using the Free Transform tool.
10:57Okay, that's a little better.
11:03So what I'm going to do is go through all of these layers, and repeat this
11:07process, and when I come back to you, because this is obviously that's a bit
11:10time consuming, when I come back to you, you'll see all five of these that have
11:14being nudged and pushed into varying different guide paths just by making little
11:19modifications to all these layers.
11:21Okay, so what I've done is just made some small little additions to the other
11:25layers, just to vary the paths.
11:27If we look at the entire path system, it looks like a little strand of
11:31tangled hair or something.
11:33As you follow the particles, it gives them a much more natural flow.
11:36Couple of last pieces of housekeeping are required; the little guide layer that I
11:40created so that we could select this thing: we can guide that out.
11:43So I just click on the Cluster symbol and guide out that top layer.
11:47And now when we play the animation, that's looking really sweet.
11:51And then the last thing to do is we tunnel all the way into the particle, and we
11:58reverse the guides, so we're now in the particle symbol.
12:02I've guided out the reference layer, and I'm going to guide in the particle layer.
12:05I'll click all the way out to the top of the scene.
12:09And last step in this process, you can duplicate the cloud, and make several of these;
12:16I'm just going to make some new layers and drop them in.
12:20So there's one there; maybe change its position, and now when you play the
12:26scene, you can have waves of these things.
12:29And again, you can vary these. You can rotate them.
12:33It'll show you a general outline suggestion of where your flight path might be heading.
12:37So it's a pretty cool little toy to have at your disposal.
12:40So, one of the more intensive sections of this course.
12:43So I hope you enjoyed it.
Collapse this transcript
4. Staggers
Introduction to staggers
00:00This section should be fun;
00:02it's about staggers and doing really quick vibration effects.
00:05When you work in animation I guess there is this question: should you work in 2D or 3D?
00:09The thing I like about Flash, sometimes, is it does make certain things easier than
00:13they might be, I think, in 3D, and one of them is working with staggers, and
00:16controlling staggers.
00:18The one on the left, the red ball, is the simplest of all staggers. This
00:21kind of staggers often done for screams, like you can imagine that being a
00:25person's face going aah!
00:27The one in the middle is the diving board, and that's a little more intricate.
00:31That's going between two states, up and down, and finally settling in to one.
00:35It's great for springs, and some mechanical effects.
00:38And the little green character walking that we previously animated; that is a
00:42bit of palsy. It's like a person with a tremor, or a shake, or it could even be a
00:46character leaning into the wind, and you can almost feel the gale force blowing at them.
00:52All these staggers use the same basic technique, at least in Flash the way we are
00:56able to use it. And we are going to begin with the first of these: the classic
01:011, 2, 3; 2, 3, 4 stagger. And we will do that in the next section.
Collapse this transcript
Animating a simple stagger
00:00So the first of the staggers that we will cover is the really simple one. This
00:04is the one that might be used for a scream or a yell. Here's what it looks like.
00:09I've made this very simple face so that you can see how basic a design can be used for it.
00:14So I have clicked all the way into the internal scene of this ball, and it
00:18consists off 10 frames. They are easing out, or slowing into, this end frame. So
00:27there's less of a motion as the action ends. So big movement between here and
00:31here, less so between here and here.
00:33Because we're using motion tweening and shape tweening, we are kind of sadly
00:37restricted to the tweening options of the shape tweening world, which is ease
00:42in and ease out, from 1 to 100. So we have to follow along, or things will
00:46slide out of position.
00:48I've put down a numbers layer here. It'll make it easier for us to follow along.
00:52I use this as a temporary device.
00:54So actually what I'm going to do, I'll use this later, I am going to copy
00:57those frames, save us some time.
01:00So this is like a single simple action. And then on the outer layer what I've
01:04done is made a series of keyframes that are calling on the internal Timeline.
01:09So the first one is looking for, and you can see down here in the looping options, Frame 1.
01:14If I click on the second one, Frame 2. I'm using the Comma key and the Period
01:18key to go through frame by frame.
01:20The third is Frame 3, and next is Frame 2 -- actually what I'll do, this will be quicker.
01:25I'm going to guide out the number layer. So we're going 1, 2, 3; 2, 3, 4;
01:283, 4, 5; 4, 5, 6;
01:295, 6, 7; 6, 7, 8;
01:307, 8, 9; 8, 9, 10;
01:309, 10, and that creates the stagger. We have basically staggered the timing.
01:42So now that that's done, we can go back into our figure. I'm just
01:46housekeeping, guide out that number again, and now you can see it without
01:49the number distracting you.
01:51So what I'm going to do is a simple demonstration of how easy this is from
01:54scratch. So let's create our symbol, and I'm going to select the Oval tool, and
02:00just create a simple shape.
02:02It's got a red outline, I'm going to give it a black one. And let's see some of
02:06them can color for the face, so let's push that here, and I'm going to select F8,
02:11and I'll call it stagger. And inside this make a second keyframe on Frame 10, and
02:16that will be the stretch position.
02:19So bring that up; I'm going to use Shift+Arrow key to stretch it up, and you
02:24can make any transformation we think we can justify on this. And we are shape
02:29tweening, so we don't have to just squash and stretch. We can mutate the shape
02:33a little bit, so I'm going to click between these two keys, and go Create Shape Tween.
02:38And if you have, like, an unpleasant tweening, just maybe put some shape hints on, or
02:43just start from scratch until you get some pleasing shape transition that you
02:46want. And I'll make sure that this is easing out 100, so that were slowing in
02:52to this end state here.
02:55Okay, that's that. So on the outer Timeline let's make another symbol. I'll
03:00click on this. This is the stagger symbol, and I want to keep it nested
03:03inside yet another symbol.
03:06So I'll call this one stagger action.
03:09I want to do a quick cheat; earlier I copied the number frames on the previous
03:19one, so you might want to just make your own by using the Text tool, and just
03:26laying down whatever numbers you think you'll need to see. You don't need to
03:29watch me typing in numbers, so here we go.
03:33Switch off the guide, so that we can actually see it, and now I'm going to make
03:37a series of keyframes and this stagger was going to go, let's see how many we
03:41need, probably a few. It's going to go, 1, 2, 3; 2, 3, 4;
03:433, 4, 5; 4, 5, 6;
03:435, 6, 7; 6, 7, 8;
03:447, 8, 9; 8, 9, 10;
03:449, 10. It's the kind of thing you need to do undisturbed. If someone is talking
03:53to you, you'll probably get it wrong. So let me remove these surplus frames, set to
03:57loop. Well, we can make it play once.
03:59And I'm just going to hit F6 for all of these, and then the fun part, make sure
04:07that we have the numbers. So it's 1, 2, 3; this should be 2. Here is the beauty
04:12of having our number -- this is very hard to do if you don't have a little
04:15temporary number guide to help you along the way.
04:18So I'll stop talking now; 1, 2, 3; 2, 3, 4;
04:203, okay, nice.
04:31So let's go into the screaming head, and guide out the numbers, and have a look.
04:40That's it, and let's say Control>Test Movie; if I test the movie, I'll be
04:44seeing more than that, so let me guide out the ball there.
04:52I think you'd find that handy, like I said for screams. I'm sure
04:54there's other applications.
04:56I think people have used some stuff like this for laugh effects, mechanical
04:59recoiling effects, so keep it in mind. Don't overuse these
05:02staggers. Overuse can get old really quick, so I tend to keep them for things
05:06that really demand them.
Collapse this transcript
Animating a diving board
00:00So next is the diving board stagger, and this is somebody jumps off a
00:05diving board: boing!
00:06This has a lot of different applications. Imagine this is somebody's head, and
00:10got clobbered on the side. Like in the old cartoons from the 50's, Tom & Jerry or
00:15whatever. It's like, zoing! Like that. So it's not just something that you need
00:19to apply to a diving board.
00:21So let's have a look inside and see how it's done.
00:24So basically what I did was, I created two separate scenes:in one, the diving
00:28board is in an up position, and moves into a down position, and in the other the
00:32diving board is in a down position, and moves into an up position.
00:36And I used an ease out of 100, so that it gets slower and slower and
00:40slower as we approach the loss of energy in the stagger. Then the next step was
00:45to create two layers: one layer for the upstate, and one layer for the
00:49downstate, and they play once right through, and then I simply deleted the alternate frames.
00:55So we go from Frame 1 of the upstate, to Frame 2 of the down, to Frame
00:593 of the up, to Frame 4 of the down; it plays right through.
01:02Now I've been noticing something about the CS5.55 playback, and there is
01:07definitely a slight glitch creeping in. I don't know if it's particular
01:12to this computer, or this latest version of Flash.
01:15But when I play this, especially with these really fast staggers, I am seeing it,
01:18and it's kind of weird. Sometimes I am playing through here, and it's great. Other
01:22times it seems to stick. So if you ever see that, and you are a bit bothered
01:26by it, just go Control>Test Movie>Test.
01:30And it'll probably give you a much more reliable playback, and of course the
01:34most reliable playback would be to render your animation as an MOV file or an
01:38AVI file. So keep an eye out.
01:39It kind of threw me a bit earlier.
01:42So the way I have built these planks; I built them kind of to be a little more
01:46three-dimensional. So I had three different layers for the front, the side, and
01:49the top. So we don't have enough time, honestly, to go through and be that fine tuned with it.
01:54So what I am going to do is rebuild this just using a single plain. It will show
01:58you the exact principles of what we are doing here.
02:00I just wanted to make it look three- dimensional so that you have a good idea
02:03that we're not limited here. You can have multiple layers work together to
02:06create these really cool effects.
02:08So let's go back to the outer layer.
02:09I want to just make the plank go away for a second, and let's just guide him
02:13up. And let's make a new layer, so use the Rectangle tool, I am going to make a
02:18little plank, and let's give it a little bit of a perspective.
02:26So here is our plank, and it's in the standard, what we would call a zero pose, or
02:30a flat pose. Nothing has happened that's interesting, so that's good. Let's hit
02:35F8, and we'll call this plank, and let's make this the up state.
02:39So I'm going to put the pivot point to the far left, so the natural pivot
02:43will be somewhere over here, that makes sens. Even though Flash defaults to
02:47there, I wouldn't worry about that right now. Click on that; it's a plank up
02:51and let's make our label up.
02:53And let's see, before we do anything else let's just make this as clean as we can.
02:57So I'm going to hit F5 just to extend our Timeline 30 frames. And now we will do the down pose.
03:03So I will make a new layer, click the keyframe, hold down Alt+Option, and Drag;
03:07little plus sign appears over your cursor, and I am going to call the lower
03:11layer the down layer.
03:13Click on that symbol, right-click, and go Duplicate Symbol, and this will be plank down.
03:19Now if I double-click on that, I can hit the final frame. Hit F6, down position
03:25will be the first frame.
03:27If we imagine that the diver is going to be standing here, and the board is
03:31attached to the wall here. So let's have the down position -- just clicking and
03:37dragging the points, let me put a slight little curve on it. And now we
03:42right-click on the Timeline, and go Create Shape Tween, and I am going to ease out 100.
03:48So back to the main Stage, hide that, and now we are going to the up position.
03:54So I am going to hit Frame 30, and keyframe that.
03:57Frame 1 would be the maximum up position, with the end framing the settle, of course.
04:08Okay, right-click, and go Create Shape Tween, and no tweens were needed on this one.
04:13So if you see weird shapes spinning around or the thing doesn't work, then you
04:19would apply a shape hint: Control+Shift +H, or Modify>Shape>Add Shape Hint.
04:26A quick word of warning to back up your file, and that's about the 50th time
04:30today I've said that.
04:31When you apply shape hints, the Flash engine can go strange, and crash on you.
04:35Really it's frustrating when you lose a lot of work, especially when you know
04:38that you should have backed up your file first.
04:40So please back up your file before anyone applies a hint.
04:43But that should fix any glitches in the shape tweening.
04:46So let's look at these two layers working together. That's kind of interesting.
04:50So let's make sure these only play once; right now they're set to loop, so let's
04:53click on each one in the Properties panel. Tell him to play once. Bottom one as
04:58well, and now when we play back, that's nice.
05:02So now we select all the frames that we are going to animate, or that are closing
05:06in on that static pose, and hit F6, and now we simply delete alternate ones.
05:11So if somebody was diving off the board, for example, so the diver jumps up, and
05:17hits down, then I would expect this to be the first frame that we would see.
05:20So let's get rid of the top one first. And I am just going to make this little
05:25checkerboard deletion all the way through the Timeline. Click on the ones you
05:29don't want, Control+X, and there is the result.
05:33Now I mentioned earlier that little glitch; I am seeing it again, so I'm going to
05:37Control>Test Movie>Test. That's nice.
05:41Okay, so as you see, that's a really nice simple way to deploy a stagger. And the
05:47other thing to bear in mind, and this is where I really love the way these
05:50stagger effects in Flash can be set up;
05:53if you want to make it longer, you'd simply extend the end state of each of
05:57these. And you would simply make more keyframes, and then repeat this little
06:03checkerboard pattern. It could have very long slow staggers. In the good old days,
06:07drawing by hand, that would have taken a very long time.
06:09So it's super easy to play with these, and have fun with them.
06:12I hope you find ways to utilize this particular effect.
Collapse this transcript
Animating a tremor
00:00There is another really cool effect that I use to wonder, how the heck do people
00:04do it? And that's a little shake or a stagger; the very tiny little tremors that
00:09people do sometimes, like very old people, or if you are leaning into the wind.
00:13So let's have a look at what this is.
00:15You may remember this little walking magic carpet, dollar bill fellow from a
00:19previous section of the course.
00:21This could either be he's very old and he is shaking, or there is a gale force wind
00:25blowing right at him.
00:27So let's see how this was done again. And as you can imagine if you have done
00:30the previous section, we animated a very simple walk; normally I have many more
00:35poses in this walk, but to keep things really easy for us I removed the squish
00:39and the highpoint poses.
00:41So what we have is just the contact positions where his feet are touching the
00:45ground, and then the passing position, and then the contact, and that's it. It's a passable walk.
00:51I made a second one, so there is two of these, and this is the second one. And all
00:56I did was I went into the shoulders; I just pulled slightly out of position from
01:00the first one. And then on the outer Timeline, if you have seen the animation of
01:06the plank, we just go back and forth between one and the other.
01:12So what I am going to do is just simply hide and guide out the original
01:15Exercise file, and let's see if you can put one of these things together in not too much time.
01:20So what I am going to do is throw down, first, a couple of guides just for the
01:25feet. It's going to be walking along a line, like that. Parallel lines, let's
01:29say, and let's just padlock that, and make that a guide layer, because I don't
01:33want to be exporting it.
01:34And with a green color for the fill, and the black for the outline, I am going to
01:37use the Rectangle tool, and let's make a little pose.
01:43So the first things first; let's hit F8, and we will call this walk 1, and I am
01:48going to put the pivot down closer to there.
01:51So we'll do a full walk first in this one.
01:55So I'm going to hit F5 to stretch this Timeline out, select these frames, hold
01:59down Alt key, and just copy over. And I will get rid of the surplus frames.
02:03So this makes it clear that exactly the right number of frames to make that cycle.
02:08So I am going to hit F6 here, so that we have our contact position at the Frame
02:131, and our contact position at Frame 29 are exactly the same. And on this frame
02:18in the middle, Frame 15, I am going to hit F6 to make new keyframe, and let's just
02:23push this into the other contact position.
02:27So now he goes from here to here, and we probably want to put a bit of a twist on
02:31the shoulders as well.
02:32Okay, so I now I am going to activate shape tweening. The big problem we have
02:46here right now is that the feet are stuck on the ground.
02:49So we need to put in a passing position, and making F7 here as a little note for
02:53the correct position, and I often do this so that I can line up my frames
02:57properly on each side of the walk.
02:58I am selecting these frames, holding down the Alt or Option key, and dragging.
03:04So I am going to the first passing position, hitting F6 on this one; the leg that's
03:08moving forward, well that should be off the ground.
03:10There we go, and same with this one; hit F6, and the leg moving forward would be
03:19this one. Lift it off the ground, and I have been lucky here; I am not having to
03:23use any shape hints.
03:25If you find you do, I'll say it again, don't forget to back up your scene before
03:28you start applying shape hints.
03:30Now we have our first walk, and, simple process now, we duplicate it. And I
03:35probably don't need to see this guide layer anymore.
03:37So we will call this walk 1; it's always nice to label everything when you start
03:40doing the stuff, because you can get lost very easily.
03:43So I am going to hold down the Alt, Option key, and drag to here, and I will put
03:48the walk 2 on the bottom.
03:50So let's name that, hide the top one, click this walk, which is walk 1,
03:54right-click, and duplicate, and we'll call it walk 2.
03:58So we have Layer 1, walk 1 containing symbol walk 1; we have Layer 2, walk 2
04:04containing symbol walk 2.
04:06So let's go into walk 2, and what I am going to do is just pull these points a little
04:10bit. And like I said before, we don't want to change the feet too much.
04:14We can actually change the foot of the passing position, becaus it pushes
04:17off the ground, so that could give us a little bit of extra shimmying. And I think
04:21we can pull these shoulders a little bit.
04:24And you don't want to go crazy with this. Just keep it pretty subtle, because
04:27we are trying to have a little tiny, very minor effect here. It could be wild
04:33if you want it to be, of course, but the kind of effect that we are looking for is
04:37a little lighter than that. And don't forget, our end should be the same.
04:41So rather than making changes to this, I am going to go Control+X, Control+C,
04:43Control+Shift+V to paste that in place.
04:49So now we have two walks, and they should be slightly different.
04:51Let's test that by looking at them in outline.
04:56And that green is hard to see, so let's make that red. And let's make that
05:00purple a dark green. I like to have these play once, but this is a walk cycle, so looping is good.
05:07So they both loop, and they're both set to loop from Frame 1 onwards.
05:12So let's just hit all these layers, and hit F6, and we will make a little
05:19checkerboard pattern by hitting Control+X, and deleting every alternate frame. That's it.
05:24That's how you do it.
05:26You could also make walk 3, and pull that into a slightly different position,
05:30and you can go 1, 2, 3;
05:301, 2, 3, instead of as I have done here: 1, 2; 1, 2; 1, 2.
05:34You could have four of them if you are afraid that this looks a little
05:37mechanical, and you have seen how easy it is to make more of these states if your
05:41character is reasonably simple.
05:43Even with a slightly more complex character I could do this.
05:46I don't think it would that difficult to duplicate a walk cycle, and just pull
05:49every alternate position slightly out of place, and then toggle between them.
05:53Just don't start doing it to all your characters.
Collapse this transcript
Animating a scream
00:00In the previous section we did a very simple stagger scream; the 1, 2, 3; 2, 3, 4
00:05stagger. This is a slightly more capable stagger, let me show you,
00:10where the character goes into a little anticipation, and he staggers up between two
00:15different states, and zips back and forth.
00:17It's a lot like the stagger that we used on the plank scene.
00:20So let's have a look a little deeper into this. I'm going to just hide the
00:24background, and just go into one of these little scenes.
00:25And so what we have is a simple action, quite simple, only four keyframes, where he
00:33moves down into this little scrunched position, and then he arcs around and up,
00:38and then settles back into his standing position; that's it.
00:42So we have one moving on the left side, and we have its alternate moving on the
00:47right side, it's the same action, just moving the other way. And so you might
00:51be asking, why don't you just flip the first action horizontally?
00:55The reason being, not all characters are symmetrical. In this case, this little
00:58corner of hair, if I were to flip this horizontally, it would then pop to the
01:03other side of the head. And if we had an eye patch, or some other detail, then it
01:06would look very strange.
01:08So it's good to know how to do two of these things that are completely separate,
01:12so that's what we're going to do in this course.
01:14Because I there's so little time really available to do this, I want to cheat very slightly.
01:18I want to copy this timing, so that we match as closely as possible.
01:21So I'm going to make the new temporary layer, and just hit F7 here, here, and
01:25here to make keys on Frame 7, Frame 20, and Frame 27.
01:30Now I'm going to select this Timeline, right-click and copy frames, and now we
01:36can delete that layer. That was just a little temporary placeholder.
01:39And let's go back out to the main Stage, and now we can hide the original material.
01:43I want to take the Work folder, and this would be our Work file.
01:47So, I've simplified this greatly, I'll drag him to the top. I've scraped off all
01:51the gradients, and I made it a much easier file to work with.
01:55So you'll be able to go back and forth between the two. I want to show you the
01:58general principles involved here, rather than mess around with too many gradient layers.
02:02So let's click on him, and what I want to do first is make a new layer, paste
02:08frames, and drop in those references. Hit F5 to extend that Timeline. And I'll
02:13do the same with any layers that I think are going to have little nested
02:17animations inside.
02:18So that will be the head, let's make a new layer at the top, and I'm going to
02:23paste those frames in.
02:24I always do this when I work with nested animation, because it helps to keep all
02:28my Timelines lined up, and everything works so much better.
02:32Do the same with the mouth, because we are going to do a little animation on
02:34the mouth symbol later on. Right-click there, paste those frames, hit F5; no keys right now.
02:40We'll worry about that later.
02:42One last little thing to watch out for; I make sure all these symbols in
02:45your Properties panel in looping are set to play once on Frame 1, and they're
02:50set to Frame 1 here.
02:51That's kind of important; when you start setting keyframes here, here, and here
02:55later on, it'll really help to set the right numbers on all of these frames.
02:59So again, this head is set to 1 on Frame 1, and I think we're ready to begin.
03:05So first things first; I need not one but two man layers, so let's make a second one.
03:10I'm going to select that frame, hold down Alt+Option+Drag, and now I have two
03:15layers. And let's duplicate that symbol. And let's call this one man Right, now
03:21just put down 'R' uppercase to signify that.
03:24Double-click on the name in the Timeline, and call it man right. And the one on
03:29the bottom, let's rename him in the library.
03:31This simple man is in the man simple folder, and let'scall him
03:35man Left, and we'll name this folder man left. That'll just make it easier to
03:40keep track when we start zipping these things around the place.
03:43Okay, so let me go into the man left folder, and now we have everything all neat
03:47and tidy, all set up, and ready to begin.
03:49Hit F6 to make some extra keyframes, and what I'm going to do to keep things
03:54simple; I'm going to move his head down, and I am going to do it in a fixed
03:57amount of distance by holding the Shift key and the down arrow key. And that'll
04:02be his little anticipation move.
04:03And on this one, I'm going to hold down the Shift, and click twice up, and I'm
04:08going to rotate a little bit this way, and I'm going to
04:11rotate this one a little to the other direction.
04:13And I'm going to use just the regular arrow keys to push these into a nicer
04:16little pose. And then when I select the body, make sure that you have free
04:21transform selected, or Q on the keyboard.
04:22And let's just stretch the body to match those positions. And if you drag here you
04:28can skew, and you can squash it a little bit. And now I'm going to select the
04:34Timeline, right-click, and Create Classic Tween. I don't use the new motion tween; I don't like it.
04:40It's got some really nice features, but classic tween is a lot easier to use.
04:43It's faster, it's more responsive, and there's a nicer way of tweening with it.
04:48And without zooming in and out, I mean, I'm working on 50%;
04:50I like to do these kinds of operations at the same level of magnification,
04:54because it's easier to match the distances.
04:56So what I'm going to do now is hit F6, F6, and F6 again to make new keys.
05:03Remember we used Shift and Arrow key down once for the down position, and Shift
05:07and Arrow key up twice for the up position. And this time he'll be facing this
05:11way, so I'm going to pull the head over like this, drag the body up, and we'll
05:20squash the body on this to match. And now I will assign our motion tween. Okay.
05:25So now we should have two layers, and what's happening is not quite what
05:33I wanted exactly just yet. Because, if we look at this in outline, what I want
05:37is -- the beginning looks good, but they're kind of crossing over at the top.
05:41That's not a problem.
05:42So what I'm going to do is go into the first one, and on the top position I
05:47am just going to move the head out that way, by Shift+Clicking, and moving
05:49the arrow left once, and drag the body over a bit. And in the other one, the opposite.
05:55So I go to that frame, Frame 20, Shift +Click to that direction, body over.
06:01So now when I look at both of these layers together, they should be starting
06:05to group at the top.
06:06Very hard to see exactly what's going to be happening here, but what I'll do
06:10is very quickly just select the area that we want to stagger to occur in, hit
06:15F6., and now I'm going to delete the frames to match the kind of pattern you are seeing down here.
06:19You only need to see one man level at the beginning,
06:21because they are really both the same, and here they began to differentiate. We
06:26can actually hide that now.
06:28So I'm deleting the alternates by hitting Control+X to delete those frames. Let's
06:35
06:36look at that; that's really nice.
06:39And of course, we can change the nature of the stagger simply by changing the
06:42end pose of the up position, and see how easy it is.
06:46I could move the head over here, and as long as I match that on the other
06:50side of the stagger, you can have a very quick learning curve. Back in the old
06:54days, drawing by hand, what I've shown you right now would have taken an awful
06:58lot of drawings; probably several hours of in-betweening these by hand.
07:01So this is a great way to familiarize yourself with staggers.
07:04Now we've laid the skeleton of the stagger.
07:07In the next section, I'm going to show you how to really refine this, and
07:11truly bring it to life.
Collapse this transcript
Refining the scream
00:00So we have a fully functioning stagger.
00:04We have a couple of little things to do, that we can add to soften this up, but
00:08the big one really is the mouth.
00:09The mouth is just frozen in this smile.
00:11So let's double-click on the head to enter that symbol, and I'm going to keep
00:14tunneling in until I get inside of the mouth.
00:17And let's click off padlock.
00:18I'm going to set a couple of keys by hitting F6, and then let's add these
00:23little mouth shapes.
00:24So on this frame, Frame 7, we want to have the mouth beginning to close.
00:28So let's scrunch him a little bit; I'm just going to pull the corners of the
00:31mouth down a little bit.
00:33And we want the opposite on the open mouth; this is where he's shocked.
00:36So let's use the Free Transform tool, or Q, to pull this into something resembling
00:41"I am not happy" mouth.
00:42I use this to get the shape roughly into where I want, and then I can start
00:46fine-tuning it by pulling the lines.
00:48I don't want to end in a happy mouth.
00:50So let's take this, hold Alt Option, and drag into the plus sign next to the
00:54cursor. And then use Free Transform to again push up as close as we can get with
01:00this particular tool.
01:02And don't forget, we can still make little changes like this.
01:05So now let's select these frames, right-click, and Create Shape Tween.
01:09And now we have nice little action on the mouth.
01:13So you might want to add some ease in and ease out on this.
01:16The shape tweening easing is kind of limited, but it's there, so it's
01:19worth playing with.
01:20Okay, let's see what that looks on the other symbol; all the way out to man on
01:24the left. That's better.
01:26Now I want to add some easing here too.
01:28So I'm going to keep it simple. I'm just going to ease to, say, 80. And I also
01:33want to add a guide
01:34so that when we go from this frame to this frame, I want to arc in this form here.
01:40So let's go down and make a new layer, and hit F7 for the layer.
01:45Don't make it a guide layer just yet.
01:47So with the N key select the Line tool, making sure that snap is on. And it's
01:53easy as to find the point.
01:54I want the snap to this point here; that's the pivot point of the head.
01:57So let's select a corner of the line and drag until you feel it snap to that.
02:04And let's go to the next key, and repeat that process. Click on the head so you
02:07see the outline, and then the other end of the line until you feel that connect,
02:12and let's get that arc working.
02:14I'm going to zoom out, and next step, or last step really; right-click on that
02:19line layer, make it a guide,
02:21click on the head layer, and drag it to the guide, and you'll see the little
02:24arc symbol appear.
02:26And now when we press play you'll see it's a much smoother path.
02:30And the next thing that we'll actually do, just to really fine-tune this;
02:33right now, he is coming from this pose, right down into that one, in a straight line.
02:37Let's put a little F6 in here, and now I am going to go from this position
02:41down into this position.
02:43So this arc is actually the previous one. I'm going to just get rid of that.
02:46The arc will now work fine from here to here, and I'll always test to make sure,
02:50but nothing should break with that, and now I can put a new line in. Oh!
02:54See what happens? It breaks it.
02:55This is a new behavior in later versions of Flash, and it's not one that I like.
02:59So let's make a new layer again. This is a workaround.
03:04So I'm going to make a new line, and repeat the process that we did for the first
03:08part. Snaps in there, and let's select the head layer and just pull that line in,
03:13and now we have our line.
03:15Hit Control+C and in the guide layer Control+Shift+V, and just delete that
03:20little workaround layer.
03:24Now we have a complete arc all the way around that.
03:26We could add another one here, but time is short.
03:29So this is how a lot of us have been working around the problem of the
03:33arc issue in Flash.
03:35Now we have done this side, and the other thing to do is to make sure that we
03:38have our ease outs here; so 80, and 80. Excellent!
03:42And I'm going to repeat the process for this side.
03:43It's the identical process, so make sure that your easements are the same, so 80 here.
03:51And I'm going to add the guide layer; new layer, hit F7, use the N key for the
03:57Line tool, and just pop that in.
04:02Go to the next key and shape it.
04:06And since we know now what happened with that guide issue we can just workaround
04:09that problem a little smarter this time, and just do all of our arcs ahead
04:13of time. Drag that line to here.
04:17Sometimes when I do this I'll accidentally draw the line on the wrong layer;
04:19seems to be something that just happens naturally when you work like this.
04:22So keep an eye out.
04:23You can always copy and paste it onto the right layer after the fact that. I
04:27think that's looking fine.
04:28So now we right-click on our guide line, and make it a guide, and drag head into
04:32there; carefully scrub through.
04:35I think that's going to be fine.
04:36So now when we go to the main layer, let's just look at each one, one more time. Nice!
04:43And look at the other one; it's in the opposite, exactly right, like a mirror image.
04:50So when I go Control>Test Movie >Test, that looks good to me.
04:55Now there are a lot of little things that we could add, for example, when he
04:59tilts down -- and you'll see them actually on the sample animation.
05:02I originally animated his facial features moving to the left when he was doing
05:07the action on the left side. And you'll see his face slide to the right, and it
05:11creates a really nice feeling of three-dimensionality.
05:15And now with his ears, for example; you'll see that they're moving in perspective.
05:19We just don't have time to get into that, but I'm sure you get the idea. And this set up,
05:23so simple and clean, I think there is a lot you can do with that.
05:26One last thing that I would show you that's kind of cool, and really simple
05:30actually; this little strand of hair, let's make some keys for that.
05:34Hitting F6, and to get an idea about what I want to do with it, let's just
05:38see where he is going.
05:39So when he tilts down like this, the same frame matching the outer number,
05:44so if we're on Frame 7, be sure you're on Frame 7 on the inside.
05:47Try pulling that little angle down a little, and then he is going to move up like this.
05:53And I think it will be nice if we could, on that frame -- again making sure if I
05:57enter this symbol on Frame 20 that you're working on the internal Frame 20.
06:00Let's drag that down.
06:04See if we can get away with that.
06:05And now I'm going to select these hit Shape tween.
06:10Okay, let's see what that looks like.
06:15So, it's giving a little extra animation.
06:18Again, there is a lot more I could do with that, and you'll see in the sample
06:22animation I've done a lot more than that.
06:24It's still a little more subtle, though, but there is a little drag on the hair.
06:30So it's nice, even within something as cartoony as this mouth stagger, you
06:34can still add little subtle touches like that to give your stagger a little more life.
06:38So that's the crazy side to side stagger animation taken care of.
Collapse this transcript
5. Fake 3D Space
Introduction to Virtual Camera
00:00If you use some other programs, you will know that there are different ways of
00:03handling animation space. And Flash, there's no way of being nice about it; it's fairly crude.
00:10It doesn't have any kind of visual camera, or a system for moving through the
00:15space. It's all flat, it all happens in one layer, there is no real 3D or
00:19even 2.5D space in it.
00:21There are some options starting to creep in, where you can spin symbols around,
00:24but nothing that you could do with the actual Stage itself.
00:27There are some third-party developers who have worked on this, and this is a
00:31really great Web site by Bryan Heisey. I hope I am pronouncing his name right.
00:35Basically it's a virtual camera all done in ActionScript and Flash. And this
00:40does allow you to move this object which you can see here on your Stage, and
00:45what gets rendered out is what you see inside the rectangle.
00:48So if you rotate the rectangle, you rotate the rendered image.
00:51And here is another example that he has created for us.
00:54So you can do big rotations and camera zooms; you can blur the object and it
01:00will blur the rendered image.
01:02There are some things to bear in mind about this.
01:05I've set up this file, and this is just a demonstration.
01:08So if you want to play with this I would say go to Brian's Web site, and you can
01:14download it from this link here: VCAM AS3. there is an older version here for
01:18ActionScript 2 if that one isn't compatible with you.
01:22So what I have done is set up, from a previous animation that we have done,
01:27here's a sample of the Stage, so let me just switch that off.
01:31So here's what's happening on the Flash Stage, and I've built a little vCam, a
01:36virtual camera, using his tool.
01:40So to see the result let's go Control> Test Movie>Test, and as you see, this
01:45is what's exported.
01:47Now it's not matching the frame rate because of all the gradients; that's to be expected.
01:51The next step in this solution would be to export say an AVI, or a PNG sequence,
01:56and what will happen when you do that is this; pretty much nothing.
02:08The exports doesn't recognize the virtual camera, so Bryan recommends the
02:13solution is to export an MOV file, and then you get this. The first frame on
02:18this test render that I did was definitely weird, but the rest of the shot
02:22seems to work fine.
02:23Now he recommends you then convert this into a different format, so this is up
02:30to you. I haven't taken this any further, but this is definitely something that
02:35you might want to look into.
02:37Whether or not it works for you is completely dependent on your skill set in
02:42terms of taking these MOV files, and doing a conversion into either an AVI or a video format.
02:48So the other thing to bear in mind, of course, if you're exporting to a SWF file,
02:52and you're not using a lot of gradients, and it's a fairly simple project, then
02:56this might be ideal for you as it is.
02:58I did notice, however, that -- I did a couple of little quick passes with this.
03:03I want to guide in at that different layer that I created, so again here's the scene.
03:07Now notice the little man walking in, and his mouth is smiling, and everything
03:11there is fine, and then he goes, ooh.
03:13So when I did this particular shot I just framed in using the little blur on the camera.
03:21So I am going to Control>Test Movie>Test.
03:25Now watch his mouth; it's flickering. And so there is definitely the potential
03:30for some odd behaviors, again, depending on your individual scene, and
03:34the complexity of your scene. So something in there is reacting poorly to
03:39the virtual camera.
03:40So how would I do a shot like this in Flash? And we'll be covering this in
03:44the rest of the course.
03:45I don't use the virtual camera because of those limitations, unfortunately. I'd
03:49love to able to use it.
03:51So when I do these kind of shots, what I do is I just -- actually no camera layers
03:57at all. And I go View>Pasteboard. All I am seeing on the Stage is -- there is no
04:03spillage around the edge of the screen. And if I wanted to do those kind of
04:07shots, I do them backwards.
04:09So essentially I would move the object on the Stage, and then scale it, position
04:15it, rotate it. And now I've got to switch pasteboard off, of course, because I need
04:21to have access to the corners to rotate it; to do these kind of things.
04:27Essentially it's doing it backwards, and you can get all the same effects, but
04:32it can be confusing.
04:33So it's something that I've gotten used to doing, and we will be covering some of
04:39these tricks in this course.
04:41So let me just quickly apply a classic tween here, and there we have the basics of
04:47a camera zooming out and rotating.
04:50Not as easy to do, or as intuitive to do, as using a virtual camera would have
04:53made it, but nevertheless we can work around it.
04:56So understand about the virtual camera, know about its limitations, but we're
05:00going to move on and pretty much ignore it. But I want you to know about it so
05:03that it actually works for you.
Collapse this transcript
Animating parallax
00:00So this is a section where I'll talk about parallaxing a scene, or basically
00:05it means -- fancy word for moving different parts of your background at different speeds.
00:10In other words, objects far away will seem to move slower to you than objects
00:14that are close up to you.
00:15So let's look at an example of this, and this is a cityscape, and we're moving
00:19the camera, panning the camera across the screen.
00:21Actually, this gives us the impression that we are in a car driving alongside a
00:26roadway, maybe. And as we move, the objects that are in the foreground, like
00:30say, follow this point, for example; appear to move faster than objects that
00:35are further away. So the levels in this scene that are moving the slowest are the
00:39stars, of course; they are the furthest away. And then we have this part of the
00:43cityscape on its own layer, and that's on the separate layer from this darker
00:48skyline, and if you watch carefully you'll see of course that they all move at
00:51slightly different speeds. I think we have about five layers in this particular shot.
00:57Let's see what the scene looks like if we don't do that.
01:00And as you can see, it feels flatter. Everything is on one layer. It's not
01:07horrible; it just removes some of the depth that we experienced in the previous
01:11one. Let's look at that again.
01:15So the parallax free shot gives the impression that we're standing in place;
01:20that our physical position isn't moving very much, and we're just turning
01:24around moving our feet.
01:25So you might want that for some shots, and you might want the other option for others.
01:29This is actually taken from one of the public domain movies from the 1940s
01:34called 'Destination Earth'. I think Maurice Noble is one of the background
01:38designers on this, and this was the scene that I used as reference to create that background.
01:43And as you can see, it's pretty scratchy and dirty, so I rebuilt the whole thing
01:47in Flash as best I could using the Vector tools and the gradients, and I used
01:51this in a short film that I was working on.
01:54So what I'm going to do is show you the process, it's pretty simple, of creating
01:58this little parallax effect.
02:00So first thing I'd like to do is go to do View>Pasteboard; in older versions of
02:05Flash, this won't say pasteboard. It will say workspace or work area; something
02:09like that. They changed the naming convention of this in some of the recent
02:12versions, so if you don't see that, don't get lost.
02:15So this opens up the Stage, so we can see beyond this workspace. Yours may look
02:21slightly different, but there will be an area that you can work within, and this
02:25is mine. So let's double-click on this symbol, have a look inside, and see how
02:31it's structured. Again, I guess that was right: five layers. One at a time, we
02:35have the sky scape, we have the distant city, the foreground city, the
02:39rural-far, the and rural-near. And then simply by moving these on different
02:44speeds, we get the parallax effect.
02:46So what I'm going to do to keep this fast is just delete this, clear
02:50keyframe by right-clicking, and let's look at the start frame, and then now we're back
02:55to just the regular flat background.
02:57If you don't have the Exercise files, then I would just make a series of very
03:02simple shapes; you don't have to be too elaborate with them. And as long as
03:05they're long -- if your Stage is going to be about, you know whatever length you
03:09choose, just make these backgrounds about twice as wide as that, and that should
03:14be enough for you to be able to move these around at a decent speed.
03:17So make a skyscape, a city in the distance, and I would turn this into
03:22graphical symbols. And the one on the foreground, slightly darker. And then the old medium
03:27foreground, and then the near foreground.
03:29Once you have those set up and turned into symbols -- and if I click on any of
03:33these, they all have their familiar blue line around them, then you are ready
03:36to get that started.
03:37Okay, so let's go to, let's say Frame 100, or 101, good enough. And just set some
03:44keys. And the first thing I do - oh, there is really no need to move the sky.
03:49The sky is not going anywhere. So what I want to do is take the far end of the
03:54city, and hold down the Shift key and the left arrow key. And move that once, and
03:59then the next one move twice, and then the next one, Shift and 1, 2, 3, maybe 4,
04:06and then the top one 1, 2, 3, 4, 5, 6, 7. Let's try that and see how it feels.
04:13And just by sliding the Timeline back and forth, I'm just clicking and -- click and
04:18drag, and it feels pretty good.
04:22So on the outer Stage, we obviously see the same thing, but to see if it really
04:29works, we go View>Pasteboard, and then it hides everything that's off the edge
04:34of the screen, and there we go.
04:38So obviously it's not moving very far, so if you wanted to, you could do
04:41some work out here too.
04:42Being sure that you're a symbol is set to loop and play once, otherwise you'll
04:48see a static frame no matter what you do. Hit F6 and we could move that.
04:55I'm holding down Shift and moving the arrow key, and then we can a create a
04:59classic tween, and let's see if that works. And of course, it does.
05:04And we're dealing with subtlety here. It's just something that registers at a
05:09very low level, but it's definitely there. And very handy just to give a little
05:14bit of extra depth and illusion to your work.
05:17Last thing I would do will be to slow in to the end, and I do that by clicking on
05:22this little pencil guy here in the Properties panel.
05:24So essentially what I will do is select somewhere on the blue area where we see
05:28the motion tween. And you can use the old- fashioned tween system here by clicking
05:33and dragging, or by typing in numbers, but I much prefer this method. So I click
05:39on the little square, and what pulling this spline will do is create a slow in to
05:44the final frame. And by clicking on this one, we'll slow out a little bit too. Or
05:50ease in, and ease out.
05:51You can make these more extreme by pulling the splines back and forth.
05:55So let's do that. Now you see it's slowing in. And now I'm going to play again, and
06:06that's how simple it is.
Collapse this transcript
Animating a crane shot
00:00Another kind of shot that's really not used too often, simply because it's
00:03expensive to do in live action, but we can do a little more easily in animation,
00:07is a crane shot. And they usually save these for special shots, so it's not the
00:12kind of thing you probably want to overdo, but nice to be able to do it.
00:15And that's to create the illusion that the camera's in a crane, and it's being
00:19lifted up to either move the camera up or down in space to close in or out on
00:24the character. Kind of puts them in a larger context.
00:27So let's hit Enter to play this.
00:29It's an extremely simple effect, really, if you set your shot up cleanly enough.
00:35So let's just click inside here.
00:37Now before I go any further, I am going to show you a little reference image that I drew.
00:42This is in case you aren't familiar with perspective, and are wondering about the
00:45basic principles of it; this little graphic will explain.
00:49Essentially, the thing to remember is, if your horizon line is very low on the
00:55ground, that's a worm's eye view, that means you're down on the ground looking up,
01:00and you are either very small or very low. And the higher the horizon line goes in
01:04the shot, the greater the impression of height.
01:08So if you are going to stage a scene where you've got a character being
01:11watched at a great distance from above, these little two black dots here,
01:15that's a bird's eye view obviously. aAnd these little white blobs here are
01:19clouds, to make it obvious.
01:21So that's the thing to bear in mind; it really is that simple for our purposes here.
01:26So let's hide that.
01:27Now I've made a little frame outline so that we can see our Stage as we move around.
01:32This little red box, it's just guided out, it's just here for a visual reference
01:35so I can see the edge of the screen.
01:37And we have a sky layer, we have our buildings layer, a foreground grass layer,
01:42and the little familiar man with his little barrel of oil.
01:46This first shot will be done to create the illusion that the camera is
01:51just moving vertically.
01:52It's not moving away from him.
01:53The secret to doing these shots -- we're going to be combining these later on to
01:58create one master shot.
02:00And you could, if you wanted to, rotate your elements within the same symbol, but
02:05I really think that's a bad idea. I keep each camera move separate.
02:09So if I have a zoom or a dolly I do that in one scene.
02:13If I have a rotation, that action happens externally to that in another symbol.
02:18We'll go in for this deeper later on, but there is a reason why right now
02:22we're only seeing the vertical motion of the camera.
02:25By the way, if you don't have the Exercise files, it's very simple. You basically
02:29just match your screen with some kind of sky. It could be flat it doesn't have to
02:32be a fancy gradient.
02:34Some simple little graphical skyline with objects like this, another very simple
02:38shape for your grass foreground, and even a stick man will do as long as you give
02:42him two little dots for eyes so you can focus in on them a bit tighter later on.
02:46So that we will be our start; this will be our stop.
02:48So I am just going to reverse engineer and clear those keyframes.
02:54So depending on whether your layers are shapes like this, or symbols, apply the
03:00relevant tweens, of course.
03:03So now we have basically a man in place.
03:05So let's F6 the final frame, and in this case we have an 80 frame shot.
03:10So the first thing to remember is, remember our reference image, in case we get lost.
03:15We are going from a worm's eye view, with a low horizon, and that is pretty low,
03:19to a bird's eye view, where the horizon it will be really tall.
03:22So let's switch that off so it's not distracting us.
03:25So sometimes with these kind of shots I like to keep it really simple, and
03:28strip it down to what's the most important thing, and I think that animating the
03:32grass layer will probably be the best thing right now.
03:36So let's go to the final frame of the grass, and hit Free Transform tool or Q on
03:41the keyboard, and let's just stretch it.
03:43Now the way this is pivoted right now, and if you've made your own symbol it may
03:47be different from this; it's going off the bottom of the screen.
03:51So a handy thing to do is hold down the Alt key and drag, and that will just drag
03:57from one point; that's pretty useful.
03:59So I am just going to keep holding down the Alt key and drag this up. And now if
04:03we play that, you can already get an impression that we are moving vertically.
04:12And at this point I'm going to start playing with the gradient layer a little
04:17bit. And I am going to use the Gradient Transform tool, F on the keyboard is the
04:22shortcut. And I can animate that by just dragging the gradient color.
04:28So that we still keep that light color on the top of the horizon.
04:32So that's now tweening with this.
04:34Switch off the grass layer, or padlock it rather. And I am just going to
04:40tweak again with the Gradient tool, using F on the keyboard, and just position
04:45that a little better; maybe stretch out the gradient just a little bit.
04:47Okay, that's feeling smoother. Select lock that.
04:52And then the next thing I'll do will be the buildings.
04:56Those are the little skyline behind there.
04:58Now as we are moving up, they will just move straight up with them. So ,hard to
05:02see them now, because they are hidden.
05:03So I am going to switch the grass into Outline mode by clicking on the little square.
05:07So now I am going to use the Shift and the Arrow key while selecting the
05:10buildings, and just move them up until they are roughly in the right area.
05:15Now I am going to select the grass back again, and I think we should push them up
05:19just a little bit more.
05:20And the other thing you want to make sure is that if you have any ease ins or
05:25ease outs on these layers, they all match. Otherwise they'll move at different
05:31speeds. And the last thing to do is just position the man.
05:35So he begins at the bottom, and he'll end somewhere near the middle.
05:44The thing to watch out for, too, is that everything should move. If anything
05:47doesn't move, it might feel like it's just sticking. At some point, if you have
05:51enough objects in the screen, sure, there may be something that's not moving. But
05:55if you can, have everything move just a little bit. iI's just a few pixels. It'll help
06:00things from seeming to jam.
06:01So that's feeling pretty smooth to me. And that is the essence of doing a vertical shot.
06:07If you don't have the Exercise files then save this current state; don't delete
06:12it, because we are going to be building on this directly in the next section. If
06:15you have the Exercise files, don't worry. I think you'll probably be better off if
06:18you work with my existing Exercise files, because then you will completely be
06:22matched with what I'm doing.
06:24So, on to the next part.
Collapse this transcript
Animating a zoom and rotate shot
00:00In the previous section we did a really nice simple crane shot where we moved
00:04the camera up to look down at the character from a bird's eye view, and we are
00:08going to combine that this time with two more moves. And let's take a look at
00:12what this is going to look like.
00:13So I'll go Control>Test Movie>Test; that's really nice.
00:21So we're starting in close at a slight angle, the camera is zooming out and
00:25rotating out at the same time, and there is no end to how extreme you could make
00:29these moves, of course.
00:31So what I'm going to do is demonstrate how to create this nested sequence of
00:35symbols, to give us this illusion.
00:37So let's have a look; on the outer Timeline is the rotation action. Hard to
00:43see it separately, of course, because it's got the other movements nested inside of it.
00:47If we double-click on that to go inside, this is a symbol that contains the
00:50zooming action, and actually, if we double- click on that, this is the symbol that
00:55contains the crane shot, which we did in the previous section.
00:58So what I am going to do is -- it will be easier if I just make a new layer, and
01:03just get rid of the old one.
01:05Before I do that, I want to flag something for you.
01:07The rotation action happens on this layer, and I have called it rotate, and I
01:12put a label on the Timeline called, the camera rotates, which you can access to
01:16the Properties panel. And let me just wreck that, let me rewrite it: the camera rotates.
01:23In the inside clip that contains the zooming action, I have called the layer
01:27zoom, called it the camera zooms out, this symbol is called 2 zoom. This
01:31should give you a clue that I like to know where I am. It's awfully easy, when
01:35you do these nested camera moves, to get lost, because there are so many, and
01:39they all look the same.
01:40When you're looking at the rotation symbol, it looks exactly like the zoom in
01:44symbol, and it can really boggle your brain.
01:47That's why I put these labels everywhere.
01:48I like to know where I am; they are maps really.
01:51So okay, that said, let me just delete that, and we'll go into the library. I
01:56am going to take the crane symbol, and if you haven't got access to the Exercise
02:00files, your start state from here will be pretty much the same as your end state
02:05from wherever you did following along from the previous section.
02:08So let's go to the library, drag the crane into the Stage; even if you have the
02:13Exercise files just follow along, and delete everything. Just do exactly what I'm doing here.
02:18Make sure that you're off the edge of the Stage. There might be a little mismatch
02:21there, so let's try to make sure we are completely lined up, and I think we are
02:26pretty good; padlock that.
02:28I am not seeing any white space. Little bit at the top there; I like to
02:33keep things pretty covered. Great.
02:35So now we have our symbol, and this contains the vertical move. We'll click on the
02:40symbol, and in your Properties panel be sure that you're set to graphic, and be
02:45sure you are set to either loop or play once. I prefer play once.
02:50So then you've got your crane shot animation taken care off in here, and what
02:55I'm going to do is add a move on this external layer.
02:59So we have the crane shot nested safe inside a symbol called 1 crane, and on the
03:05main Timeline now I am going to add a zoom.
03:08So on Frame 80, I like where we end, and we are going to keep that consistent.
03:12So hit F6 to put down a keyframe there, and on Frame 1 we are going to zoom in.
03:18And I think the best way -- sometimes when I do these, because these things can
03:22get pretty big, and the edge, even if you have like a big Stage, sometimes the
03:26edge can be hard to find.
03:27The way I like to increase these is hit Control+Alt+S. You will have the scale and
03:31rotate pop up. So be sure rotation for this is set to 0. And pick an increment
03:37for scaling that's big, but not too big; let's say 120%, and hit Enter.
03:42And there are occasions when I've had this little window disappear on me, or not
03:47pop up through the keyboard shortcuts, and let's see if we can find where it was.
03:51Transform>Scale and Rotate, there it is. Modify>Transform>Scale and Rotate.
03:56So if your keyboard shortcut doesn't work, or you're not able to do that; it's
04:00a little shortcut combination; that's how you access it.
04:04So I am going to repeat, Control+Alt+S, and just keep doing that. And keep
04:08dragging your symbol until you keep it centered, Control+Alt+S; it becomes a
04:15pretty familiar shortcut.
04:16So there we go. I am not going to go in too big; that's about good enough I think.
04:21And this is going to be your zoom, of course, so let's call the layer zoom. And
04:26let's put a label in here camera zoom; uppercase, don't forget.
04:32Okay, so now we right-click on the Stage, and go Create Classic Tween, and there
04:40we have a zoom now combining with the vertical camera move. You'll notice the
04:46horizon line behind the character is moving up over his head.
04:52As we are moving out, we are also moving up, and looking down.
04:55So it's a combination of two interesting actions to create a more dynamic shot.
05:01So now that we have this done, the time has come to nest this Timeline
05:06inside another symbol.
05:07So select the entire Timeline, right- click, Copy Frames, Insert>New Symbol, and
05:14we'll call this one 2 zoom new; click OK.
05:21And then the empty frame that appears, right-click, Paste Frames, and we should
05:27have our Timeline name correct, our label is telling us where we are, and our
05:32title is telling us where we are.
05:33So now we go back to the main Stage and nothing happened. That's because the
05:38symbol has been created in the Library. So I am going to hide this layer, make
05:42a new layer, go into the Library and there is 2 zoom new. So let's drag this
05:47guy onto the Stage into the empty layer. It should be the same size as the one beneath.
05:53If you want you can use the one beneath as a position reference, so I am going to
05:55padlock the lower layer, put the upper one onto an outline, and just -- there we
06:00go. That's pretty close.
06:02So we can now delete the layer beneath. And don't worry about naming it, because this
06:07will be different. And so now we have everything safely nested, and if we
06:14double-click on this into the zoom new symbol, there we are; zoom, zoom, zoom.
06:19So, I know it looks ridiculous, but trust me, it really does help.
06:23So now we are on the outside, and we are ready to apply the rotate. This will be
06:27the rotate section, so we call that rotate.
06:31In the Properties panel over here, we will just click on anywhere on here, and
06:35then label, we'll call this camera rotate. And don't forget the end state; I
06:41like the end state, that's the perfect place to end it.
06:45And now what I want to do is to rotate this image, so I will hit Control+Alt+S
06:49to scale and rotate.
06:50I don't want to scale anymore, so I'm going to keep that at 100%.
06:54I do want to rotate this image to get kind of a corkscrew effect on the camera
06:58as we come out from the shot.
06:59So let's rotate this 25 degrees; something that we can really notice. And once
07:08we have that, we can now add a tween. Create Classic Tween, and there we go.
07:19So let's test this, Control>Test Movie>Test.
07:22And the beauty of this method is that this will export as an AVI or a true MOV
07:32file. You won't have to do too many workarounds, or you need a PNG sequence.
07:35So this is a kind of technique that you could apply if you're working on
07:38something high-end for, say, a TV animated series or something.
07:42Obviously, you can do these kind of moves in After Effects and other programs,
07:46but there are times when you may want to do them in Flash. It really is handy
07:50to have the option of doing it inside a program with which you are familiar
07:53with; save you the trouble of having to composite them. And it does mean you can
07:56do things such as synchronize various movements and animations that you might have
08:00on the lower layers.
08:01The only other thing I would warn you to watch out for is if you apply easing in
08:05or eating out, try to keep them as close as you can to one another.
08:08In other words, if you apply an ease out on the outer layer, let's say 80, so
08:15that we have a faster movement at the beginning.
08:18So let's say we have 100 ease out on the outer layer, and we'll do the same thing
08:23on the inner layer; they should all be the same.
08:27If you have a mismatch that can actually cause some pretty shaky camera moves,
08:32so I am trying to keep all these the same.
08:35It's hardest to do if you use the custom ease in and ease out. You can, of course,
08:40keep them the same, but you do have to be a little more precise with that.
08:44So okay, that done, let us go Control>Test Movie>Test.
08:48Yeah, that's right, so now we are slowing in at the end.
08:51Not too bad. So that's the process, and I have to say, don't get frustrated. You
09:01will have to spend a little bit of time just playing with this. Start simple;
09:05don't go too crazy with like massive Stages or anything. This is about the right
09:10size to begin playing with before you go deeper in it.
09:13But I've done some fairly complex shots with using these techniques; you can
09:17push them way further. And like I said, follow along, it's worth having a go
09:23at these from time to time, but do keep control over the names of your files,
09:28and you won't go too far wrong.
Collapse this transcript
Animating a track shot
00:00In this section, I am going to show you how to create a fake 3D camera tracking
00:05shot, so it's as if we are dollying through the scene, and we are seeing the object move
00:09towards us at a greater speed.
00:12So to give you an idea about what we are not trying to do here, is the simplest kind
00:16of the camera move that you'll see, where we have a static background image, and
00:20we simply make it bigger. We tween between that and the large one.
00:25The effect that we are going to be doing is a little more sophisticated, and that
00:28will be something like this.
00:30If you look carefully, you'll see that the distances between the boxes are
00:33increasing as we move physically into the shot.
00:36That's what it feels like.
00:37So this is still technically a zoom shot.
00:39It's doing the same thing as the first shot; the big difference is we are also
00:45adding motion tweening to the objects in the scene, and they're pulling apart
00:50like this, relative to one another.
00:52And that's creating this effect of space, and that can be used for all kinds of purposes.
00:57It's not just cool to look at it;
00:58it's visually dramatic as well.
01:00So, what I am going to do is we are going to recreate this almost from scratch so
01:05that you can see the process, and just really how simple the physical process is.
01:07The hard part is just getting the positions right, and that's going to come down
01:11to your comfort level with perspective.
01:13So first step was just to rough in a perspective background, and that's here.
01:19I am going to switch that to outline so that we can see the other layers on top
01:22of it a little more easily.
01:23After that I made a very rough and crude perspective guide layer using the Line
01:27tool; this chap. And I drew in the horizon line, and some simple lines to block
01:33out the room, and some guidelines on the ground.
01:36That's basically the first step, and then create the simple background, and the
01:42extremely simple shapes, and as you can see, that's it.
01:46So that said, let's make some new layers.
01:48Of course, by the way, I do have a frame just to show me the
01:51edge of the screen.
01:53So let's View>Pasteboard, or View> Workarea in the older versions of Flash.
01:58So there's our frame; that shows us what's on the edge of the Stage,
02:01so as we work we can see you know where the falloff is.
02:06So I am going to make some new layers; six of them in total.
02:11Let's call the bottom one bg, background, new. And these will be duplicates,
02:18really, of the box layers.
02:23So let's go back to our rough drawing.
02:27And again, I will go to outline mode, and we'll start drawing our new background.
02:30I am going to zoom out a little bit, and using the Line tool I am going to just
02:33draw in some very quick lines.
02:41The beauty of overlapping the lines is, as you can see, they already
02:44join perfectly here.
02:46So then all I have to do is Shift+ Click to select the ones I don't want.
02:50Hit Delete or Control+X to get rid of them, and I will close off the rest of
02:55the background image.
02:57I am giving myself a lot of extra room to play with here; probably more
03:01than we really need, but it's always best to have a little bit of padding
03:04on the side of your image.
03:05Now I am going to click on the fill color, and pick some colors to fill this
03:10thing with. And use the Paint Bucket tool, or K. I like to pick my colors from the
03:15color palette using this setting;
03:18there's different settings for picking colors here.
03:20I like to use this fellow.
03:22It seems to be, for me I find, user-friendly.
03:25So I am going to just pick some variations.
03:27A nice dark one for the back of the scene, and a lighter one for this side, and
03:33some kind of reddish, brownish color for the ground.
03:36Now we need to get rid of the lines,
03:37so just pick one of the lines over here, double-click, and it will
03:41magically select everything.
03:42Hit Delete or Control+X, and they are gone.
03:43I am going to repeat this process to draw in the crates; and I think I probably put this
03:55fellow on the wrong level.
03:56We should draw from front to back, and 1 would be the top layer.
04:00So I just clicked and dragged him to the right one.
04:02Once you finish your crate, put it in outline and padlock it.
04:05And then you can't go wrong, and then we move down a layer.
04:09I think it's logical to draw all the boxes on the left side, because they will
04:13be more directly connected with one another.
04:16So let's outline that, padlock, and now we'll switch to the right side.
04:22Don't worry about where these lines overlap.
04:24We will be getting rid of all of the lines pretty soon.
04:26So outline, padlock.
04:31Once you develop a method like this, and you apply it consistently, it will
04:34reduce the number of mistakes you make.
04:36It's very easy to forget what level you are working on and do a bunch of
04:40drawings in the wrong layer.
04:41So this saves us a little bit of effort that way.
04:47Now that they're all done, and they are all on different layers, which you can see by
04:50switching to outline mode, we can fill them in.
04:53So I am going to pick the Fill tool, and let's change our color selection here;
04:58I'll pick one of the browns. And I am going to pick some light colored browns to
05:02paint in the front of the crates, and I am going to slightly change it for the
05:07ones behind so that we can tell them apart.
05:12Then I will go really dark for these sides, here. Great!
05:16So, now to get rid of the lines, you can double-click, and hit Delete or Control+X. Oops!
05:24I accidentally clicked,
05:25so double-click again to go back in if you accidentally leave the scene that
05:28you are working in. There we go!
05:30Let's see that with the background. Not too bad;
05:33it looks good.
05:34So I'm going to turn these into symbols now.
05:36So select the keyframe on the Timeline rather, and hit F8, and we will call this
05:40box 1, and the next one would be box 2, box 3, box 4, and box 5.
05:55So they correspond with the layer numbers here.
05:58So what we are going to do next will be basically move these along these little tracks.
06:03The vanishing point is here, and any number of lines can expand from the
06:07vanishing point. And not just on the floor, of course, but they can also radiate
06:12along the upper level as well.
06:14So you can use these lines to position the corners of the boxes, and not just
06:18where they contact the ground, but at their upper levels as well.
06:22So let me just lock that for a moment.
06:23I can hide the reference layer now.
06:26So let's switch on our background again, and we can see our boxes. Ah!
06:32One more thing: currently the pivots of the boxes really won't help us very much.
06:37So select the Free Transform tool, and drag this little center circle to the
06:41corner where they contact the ground, and that way it will be much easier when we
06:47begin resizing these things. That's it!
06:51So now we are now ready to scale them up.
06:52So let's hit the backend of the 1, 2, 3, 4, 5 layers; keyframe them.
06:59They're all selected, so holding down the Shift key and drag.
07:03I am going to uniformly scale them all, although we are going to size them
07:07individually soon enough.
07:08So let's go back and forth.
07:10I am going to use the Comma key on the Period key on the keyboard to toggle.
07:16The thing is to watch these lines.
07:18This line here is very close to the crate, so that should not change really.
07:23So we can just use the arrow keys to nudge these, to hold their position.
07:27This fellow here should be on this line here.
07:29So I am going to pull him in a bit, and this crate.
07:33As the object closest to us, it should be really moving past our ears as we
07:36enter the scene, and ultimately we will be completely behind this.
07:39So the spaces between these two boxes should be opening up by now, and
07:43the other thing that should be happing is this should be getting much
07:46bigger relative to this.
07:48So it's a question of matching the relative scales.
07:51If you get confused, very simple;
07:53just go into your perspective layer, and I am going to just make a new line, make
07:58a black. And let's go into outline mode anymore, and draw the line from there to
08:04there, and just keep going.
08:06If we switch off all the layers except this one and this one, we can use that
08:12line as a guide to see, have we gone too far.
08:16And I think we might have a little bit here.
08:18So I am going to bring that back in a bit using Free Transform.
08:22And we are faking things;
08:23I'll be quite honest with you.
08:24This is a big cheat.
08:26So you are never going to get it completely perfect.
08:29The trick is to get it close enough where you go, okay, I buy it.
08:33So I am going to put the perspective layer back on, and outline that, and
08:37then check this guy. And again we have an imaginary line going from the
08:41vanishing points to here.
08:42So I think he should be getting a little bit bigger.
08:44I can tell just by eyeballing that.
08:49I think this box is getting a little too big too;
08:51I am going to pull him back in a bit.
08:54If you're into 3D, you can probably set up a reference shot, and just block out
08:58the basic geometries, and do Google SketchUp or something.
09:02I have done that before where I've had real trouble scenes, but often I find I
09:06can just put something together pretty well here.
09:08I am going to move this over just a little bit.
09:11Okay, the other thing to watch is the relative positions of these boxes.
09:15On the first frame, this corner of this box, if you follow this line, moves
09:19to about this point on the adjacent cube.
09:22So if we follow this, clearly, he has moved to the wrong speed. That's not good.
09:26So I am just going to click and drag so that he tries to maintain the same position.
09:32And I think we can make him a little larger.
09:35He's following his little line here back and forth. That's fine.
09:38This background cube is slipping. He is there;
09:41he is slipping forward a little.
09:42So let's move him over, and we are seeing more of the gap, notice too; this little
09:47area here is expanding.
09:49So I think now if we activate classic tweening you begin to see the effect.
10:03It's not perfect, but it's getting fairly close.
10:07So let's go outside again and see what that looks like with the zoom attached.
10:11Because, don't forget, this outer symbol is also zooming in. You remember from the
10:14previous section how we were nesting the different camera moves.
10:17So we have our 3D move nested inside one symbol, and our zoom move in another, and
10:24that's physically moving us into the space. And the internal animation on that
10:28Timeline is what's selling us the distances changing between the boxes.
10:33So let me go to View>Pasteboard, or View> Workarea in the older versions of Flash,
10:38and I am going to look at this without the space around it. Getting there.
10:42Certainly much more interesting to the eye than the dead zoom.
10:48That's quite boring by comparison. So that's it.
10:52That's the initial part of this process.
10:54Next, I am going to show you how to fine-tune this, and add some details that
10:58will really make it feel a little more interesting.
Collapse this transcript
Lighting a 3D shot
00:00So now we have our scene with our little phony 3D camera move into the shot,
00:06and then the next step would be to just add a few details and things to bring it to life.
00:10To completely finish this scene obviously will take a bit of time.
00:14So what I'm going to do is, instead of showing you the entire procedure, I'll
00:18show you the general process of how I would go about finishing this.
00:20So let's click into the scene.
00:23I am going to actually delete the old layers just to make some room in here.
00:28So we are moving through.
00:30First things first: let's look at the background, and I want to see the entire area.
00:34So View>Pasteboard, or Workarea if you're in an older version of Flash, and here
00:40is our background; very minimal.
00:42I mean there are lots of things we can do to add lines and details to the
00:45background. Maybe some doors at the end, and windows and so forth, maybe some
00:49roof tiles, and whatnot.
00:51But for now I am going to do something a little more basic.
00:54I am going to make a new layer, hold down the Alt key, and drag the background,
00:59and just make it a full color.
01:01Anything will do for now.
01:03And in our Color panel I'm going to go to radial gradient. And this is what we
01:08covered in chapter 1, if you're unfamiliar with this.
01:11The Gradient Transform tool over here, F; we click on that, and you'll see
01:16probably a different gradient depending on whatever last gradient you were playing with.
01:21But don't worry, over here we can control the number of colors we have, and where
01:24we put the different colors.
01:26So I am going to click on the center widget and just drag it roughly around to
01:30about here and you can then rotate this out.
01:34Now I want the middle of the scene to be brighter.
01:38So I am going to pick a nice bright color, and let's make it a warmer color,
01:41something reddish maybe.
01:42I know you can't see much right now, because it's so transparent.
01:46So this second color here, let's drag that to somewhere.
01:50And again, make sure you have selected this H on your color, and let's make that a
01:55warm, maybe darker though.
01:57So we will bring it down.
01:58It's looking nice. And we will fade out to blue, a cooler color, on the outer side.
02:05Let's make these a little more transparent.
02:06So I am clicking on the leftmost one, which corresponds to the center of the gradient.
02:12Let's bring it down to about 8% and we will bring down the middle one to
02:16about, let's try 40%. And look at the difference just with the addition of one simple gradient.
02:24It's, you know, with not much time or effort put into it;
02:27it's already getting us away from that flat, flashy look.
02:30So the next thing I'll show you is how to take one of these cubes, and approach
02:34the treatment of lining it.
02:36So I'm going to double-click on that symbol to go into it, and let's make a layer on top.
02:41Actually, what I will do is I will duplicate the artwork.
02:43So hold down the Alt key and drag, and you will see little plus sign, and let's
02:48just padlock and guide out the layer beneath.
02:51So it's safely tucked away just in case anything goes wrong. Just go in closer.
02:56And I am going to use the Line tool, or N, to simply put some lines on the object.
03:01I am just taking care to watch the perspective.
03:10So what I'm going to do here is refine the shape of the object, and it's nice if
03:13you can put some little tiny breaks in the silhouette.
03:16It will stop it from looking like that little empty cube. And there's going to
03:20be some vertical boards here breaking up the shape a little bit.
03:24We are not going to spend too long on this, but I will just do enough to give
03:31you the idea of the general process.
03:33It's pretty basic stuff really.
03:35This is the kind of the skill level that you learn in any of the introductory
03:39essentials courses at lynda.com.
03:42We are just making lines, filling spaces, and we are going to paint them in.
03:46That should be most of them.
03:47Now what I want to do is find some different colors to paint inside these areas.
03:51So I am going to select, using the Dropper tool; that's this guy.
03:56Click that color. It appears here.
03:58I am going to pick a darker variant of that, and then just drop that in here. Oops!
04:03There is an open gap there somewhere. Let me close that.
04:08So what I am going to do instead is select the Fill tool, and tell it to close
04:13small gaps, and that took care of that.
04:17Normally, I'd go in and zoom in and really fix that, but we are okay to do this.
04:21At the bottom, this, I would like it be a highlight.
04:23So again, Eye Dropper tool, select that color, pick a brighter version, and there we go.
04:29The same process here; Eye Dropper, select that color, pick a darker one, and
04:34drop the darker one in here.
04:35And we will put a slightly lighter version of that brown at the bottom. It might be
04:45too bright; bring it in.
04:46So that's it, and last step: get rid of this.
04:49Delete or Control+X. We don't need that.
04:52Double-click on the line to select it all, and this one to get rid of it. And
04:56now we have something that looks, like, a little more interesting than our
04:59primitive geometry. The next thing,
05:01well last thing, really, is to put some gradients on here.
05:04So I am going to make two layers.
05:06One layer will basically correspond to the front of the box, and I am just
05:11Shift+Clicking to select everything here. Control+C, Control+Shift+D in the top layer,
05:16and the same process for the shadow part. Control+C, and then in the empty layer
05:23Control+Shift+V. So let me padlock our art layer. And on this layer here, which you
05:30are seeing now in pink, I am going to make it just a solid color.
05:33I will swap the colors just to do that, or you could just pick any color
05:37from the picker here.
05:38And now we will go to this area in the color palette and select radial gradient.
05:43And it will probably apply some other gradient; the last gradient that we were working on.
05:47Now it's just a question of positioning the radial gradient for maximum effect,
05:54and I am just going to use the various widgets And again, we covered this in
05:57greater detail in Chapter 1.
05:59So if you are having trouble following along with this, you might want to have a
06:02look in there and see how we did all this.
06:04Now remember basic color theory.
06:06It's nice if you have a reddish, brownish color with a gradient that's maybe in a
06:11different color family.
06:12So I'm going to try to pick a darker blue to really contrast with the orange
06:18color, or the brown color, of the box.
06:20And maybe we will go with a warmer color for the top there, and this can be pretty subtle.
06:26I am going to bring the light of these three, this one now down to 5%;
06:29we will make this one a little lower, maybe about 20.
06:35The back one can be pretty dark, falling off into shadow.
06:37I am going to actually make it a little darker too.
06:40So that's that, and now padlock that, and now go to the background layer. The same thing.
06:45I would like to paint this in a radial gradient as well, and the thing is painted
06:52with its controls off the edge of the Stage.
06:55So Gradient Transform tool, and let's just pull it in. And you might want to have this
07:05side illuminated as if it's been hit by a spotlight off the edge of the Stage or something.
07:10So we can play with these positions as well to soften that. And you can, of course,
07:17play with the opacity.
07:18I am moving pretty fast now.
07:19I am just going in, and really no point in calling out colors and opacities anymore.
07:23It's really just to give you an idea about how you proceed through creating
07:28the colors for this. So there we go!
07:31Already somewhat more interesting than the for default.
07:35So that's the process
07:37of how I would go in and apply the gradient skills previously covered, and some of the
07:42lighting issues to creating a scene that's a little more dynamic.
07:45And as you can see, they still move fine. And the only other thing I would probably
07:50suggest would be maybe a slightly bolder gradient, maybe with some other lights,
07:55maybe behind these boxes.
07:57But once you apply more and more of the line work, let me show you the finished result.
08:03And here we have the scene completely polished.
08:06It's doing exactly the same thing that we have just being seeing in the previous one.
08:09All I have done is I have added a lot more line work to the crates.
08:12I have repeated the process that you just witnessed with the crate on all five of them.
08:17If you look inside the scene, it's actually surprisingly simple.
08:21So I will just very quickly take you through it.
08:23There is our lined background. And we have our boxes; I just added a slightly
08:27transparent shadow beneath them, but they all have the same gradient trick.
08:30There is a, I call it, air.
08:31It's really the light level that gives us the dropoff, and creates the illusion
08:36of a shadow towards the end of the screen. And then the various crates are
08:40deployed on top of that so that they pop out against that layer.
08:44If I wanted to, for example, darken them, I would just move that layer up, and then
08:48we could darken the layer, or even add a second layer if we think we can get away
08:52with it, for different effects.
08:54So, for example, if I wanted to make it stronger, select that layer, and I would
08:58simply change the opacity settings of the different parts of the gradient, and
09:03do some really drastic alterations to the scene.
09:06So it's great fun to have the ability to light scenes, and I think too many of us,
09:11when we use Flash, we resign to this very flat, everything is evenly colored,
09:17which is after a while that does get a bit boring.
09:19So I have been having a lot of fun just messing around with these gradient
09:23effects, trying to bring another level to the scenes.
09:26So even though this technically isn't a part of teaching you how to do a
09:29tracking shot, I think it's a very important component of making the
09:32tracking shots look cool.
09:34So I think, with that, we are done with moving the camera around our little
09:38fake 3D Flash space.
Collapse this transcript
6. Fades and Transitions
Animating a cross dissolve
00:00If you're going to do any kind of short film, or any complex sequence of scenes in Flash,
00:06it's best to do the work in Flash on an individual scene-by-scene basis, and
00:12then bring the scenes into After Effects, or another video editing program, and
00:18render them out as a PNG sequence, or an MOV or an AVI file, or whatever.
00:23But sometimes you might want to have a quick and dirty transition between two
00:27scenes in Flash, and quick cuts of course, are no problem at all.
00:31You might have some issues, however when you do cross dissolves. And let me
00:36show you the big one, I guess. So in this case we have a background of the
00:40ship floating at sea.
00:41I want it to cross dissolve into the captain's cabin, and he's got his book, and
00:45his lamp, and clock on the table.
00:47So here's what happens normally when you have your scene, and you do the alpha
00:52transparency; the fade in.
00:54Flash shows you these intersections where the different symbols overlap, and
00:59you can see the table through the book, and the clock through the book; it's a real nuisance.
01:03Now there is a workaround for this. It only applies to certain scens, and
01:07really it only applies to scenes that have very limited animation, but I will
01:12show you the solution.
01:14So we would take our symbol, and we have to mask everything.
01:18So essentially, we'd have our background, the table, which would be masked, so that
01:24the book that sits on the table exactly is aligned with that. And if we look
01:28at that in outline you can see that there is no overlap. And if we do the same thing with
01:33the lamp, and the clock; they are also masked, so that the areas that overlap
01:38the book are removed from the scene. And it's not fun doing this, but the end
01:44result is, when you have it done you can then dissolve it cleanly, and now you can
01:48see there is no overlapping areas where the clock, and the table, and the book
01:52overlap one another.
01:53So very quickly, let me walk you through the process for doing that.
01:56And there might be times when you actually want to do this without
02:00overlapping scenes; you might want to dissolve without complex symbol or a shape,
02:04and when you go to -- the last thing you want to have happen is see this kind of
02:10mode, so let's see how that was cleaned up.
02:13So what I am going to do is just simply delete the mask layers, and so if you
02:18have the Exercise files, then just follow along and delete the masks. If you don't,
02:22then just make three or four symbols: a square, a triangle, a circle, and
02:27overlap them on different layers, and you will you get the idea. It'll be an identical process to this.
02:32So okay, what's the problem here? Well we have the background, and we have our
02:36table, and now let's look at the book issue first.
02:39So what we need to do is to mask out the area that has the book shape on the table layer.
02:45So what I like to do here is just copy the book, Control+C, and that will be our
02:51mask now for the table. And we break this apart, Control+B, until we just -- and I
02:58am going to pick, like, a flat color for that. And the problem is if I make this a
03:03mask for the table, it masks out the wrong part, and I'd like it if there was an
03:10option that allowed us to invert the mask.
03:12If there is one hidden somewhere, I don't know about it. I apologize if I'm unaware of it.
03:18So here's how I've been solving the problem.
03:21Use the -- let's pick a nice black color for your Line tool, and we'll pick the
03:27Ink Bottle, and paint that in. And then we will activate the background, and I
03:33want to see the book layer, so I want to select, now, the Line tool, and I'm going
03:39to paint in the area that I want to mask. And basically what we're doing
03:45is masking it in, And I am going to color it red; so a different color from the
03:49one that we have up here for the book. And we want to select the Paint Bucket
03:53tool for this, paint that.
03:55We are getting a kind of an opacity on this, it doesn't really matter, but we're
03:59seeing through it, so don't be bothered if you see that.
04:02Delete that line, delete the green, and now when we activate the mask we have
04:07our table masked, and we can now see the book on top of it. There will now be no
04:12overlap between those.
04:14So as you can imagine, this can be pretty complex when you have a lot of
04:18different objects overlapping.
04:20I have done it with little piles of rocks, and it's not fun. So it depends on
04:25how badly you need to do this effect; how badly do you need to have one of your objects?
04:31I'll go to alpha and fade out.
04:33Now you can also do it with runtime caching, but I found that that can create
04:38problems when you're rendering out symbols that have animation inside them.
04:42The last time I tried it, it did not render out the animation, so it's kind of
04:46like a pair of handcuffs.
04:48Sometimes you just have to know how to apply this technique.
04:51So I'll just do it one more time so you see it with the clock and the lamp.
04:55And the same process here, they need to be masked to the -- I believe to the book layer.
05:00Let's just get the book again; Alt+ Drag to copy that layer, and I am going to use
05:06this as the mask, so I'll drag that down there. And break it apart again,
05:10Control+B, and I am going to give it another phony color, so just that blue will do
05:14fine. And same process with the Line tool.
05:18And what I want to do is to create the area, now, that we will be allowing to be
05:23displayed. And let's get a different color again; maybe orange, pop it in,
05:30and select and delete the blue. Double- click the lines just to clean them up.
05:34And, you know, maybe rename this layer mask so we don't get totally lost in
05:39here. Right-click, make it a mask, and then drag the lamp as well, because we
05:44have two layers under this one, so you have to drag them all in there. And
05:47you'll see that they've disappeared there.
05:49If you go to Outline mode you will still see the overlaps. That's okay. But when
05:53you go to the outer layer, and you dissolve through, we're clean.
05:57You may need this, you may not, but it's been handy for me quite a few times
06:00over the last few months.
06:01So I am sure there is a lot of people out there who might find it of some use.
06:06So we'll move on to the next tool in creating transitions.
Collapse this transcript
Animating a wipe
00:00There is another simple way to transition between two scenes and that's to use a
00:03wipe, and use the mask, in this case, to create the effect. And this is where we
00:08simply wipe the screen from one state, one scene, to the other. And this is pretty
00:14simple; can't really go wrong with it. And it's used a lot in some films; the
00:19Star Wars movies use this quite a bit.
00:21So let's have a look with the pasteboard activated, so I can see the entire
00:25Stage beyond the visible area. And let's just take a look at the mask, and
00:30that's all that's happening.
00:31Now I've actually done a slight shape tween on that mask so that you can see
00:37it's not just moving in a completely straight line, which looks a little bit
00:41flat. And now when we see this with the area that's been unmasked, it feels a
00:45bit like a page turn.
00:47And the cool thing about this is you can make your own shapes; you are not
00:50limited to just boring left-right mask. You can go up-down, and granted there
00:55are a plenty of these in After Effects and other programs as well.
00:58But again there may be times when you want to do it in Flash, and the beauty of
01:01doing it in Flash, of course, is that you can integrate it with other effects.
01:05So if you wanted to add, like, a little man down here running across the screen,
01:09pulling the mask, you could do that. I think it might be easier to do that kind
01:13of thing if it's all inside the one program.
01:15So just a very quick demonstration of how this was done; I am going to
01:18delete that layer, and let's just make a new layer.
01:21And I will hit F7 here to just put down the blank spot, and create the Rectangle
01:28tool. And the mask can be any color. It's not going to be visible; it's only
01:32there as a guide. You could even leave this line on it.
01:35So that's our first frame, and I am going to hit F6 on Frame 40 as our end
01:40frame. Click that to select the entire area of the mask, and then select the
01:47Free Transform tool, or Q, and then select this again and -- as long as you see the
01:52little handles up here, and pull it across. And the next step will be, in this
01:58case, to activate shape tweening.
02:03Actually, the nice thing about having it as a transparent color, which you can
02:06set here in the Color panel, is that you can actually see through it. You can see
02:10exactly where your thing is going.
02:13So then I can simply bend the line and make that pretty much any shape I like
02:24depending on how much time I've got to expand on this.
02:27And the step, of course, is right-click on that new layer, make it a mask, and
02:32it'll automatically pop the layer beneath into it. And there you see that the
02:36mask has been generated.
02:38If that doesn't happen, or it falls away, it's like adding a guide layer, you
02:42simply drag the layer you want to be masked into that. You can put as many
02:45layers inside of mask as you like.
02:47That's it. It's very simple, but keep it in mind for doing, maybe, little
02:51scene transitions, or you could have effects like, for example, a completely different effect.
02:56Let's clear this keyframe, you can do like various iris effects. And I am going
03:03to move, drag this keyframe forward to here, and again let's set another one
03:08on Frame 40, and Free Transform tool. Let's drag this out; make sure we cover the entire Stage.
03:19We have to activate shape tweening, of course. And you can do these kind of things.
03:25So keep it in mind; occasionally it's very useful to have the ability to
03:29transition in ways that are more interesting than just a standard scene cut.
Collapse this transcript
Animating a fadeout
00:00So we come to our final section of this course, and it's the fade out,
00:05appropriately enough.
00:06Most times when you do a fade out it's pretty straightforward, and it will be
00:10like this clip on the right side.
00:12You would simply take your starting pose, make a keyframe at the end, go into
00:17the Properties panel, go to brightness and go down to 0, set a motion tween and
00:22then everything turns to black.
00:24And you know what, for most of the time this is what I do, but once in a while you
00:28might want something a little more special.
00:30So that's why there's a different way of doing things, and I am going to go
00:33through this fairly slowly, because it's quite subtle.
00:35As I scrub through the Timeline you notice that the different elements on the
00:39left side are now tapering off at a slightly different rate, each one
00:44individually controlled.
00:46So let's play it in real time, and again and you notice that the one on the
00:53left, it just feels a little more alive, a little more interesting, a little less uniform.
00:58So let's have look inside that symbol and see how this is done.
01:01So I am going to hide the other one.
01:02We don't need to see that at the moment. And let's double-click in here, and I'll
01:07walk you through the layers first.
01:08So we have the sky layer, the buildings -- this will look familiar from
01:12the previous chapters --
01:14the foreground grass layer, the gradient spotlight, and then there's a left
01:17gradient linear, and there is a right linear gradient as well.
01:21You can almost make a cone shape which covers and describes this area here. And
01:27then the little oilman, and he is in middle.
01:29As we transition to the scene you will see that the different layers have
01:34their own separate dropoffs. And the beauty of this system is that if you want
01:39to change it, so, for example, let's say I want the man to be lit up for a little bit longer.
01:44It would be a simple matter of just dragging him to here, and then he only begins
01:50to fade out very late in the day.
01:52It feels like the universe is closing in on him.
01:54So now if we go out to the other Stage and compare this to the other scene, and
01:59let's go through it frame by frame.
02:01I am using the Comma key and Period key
02:04on the keyboard to go through frame by frame.
02:06We can really target whatever part of the scene we want to fade out last.
02:11You file this kind of effect under subtle.
02:13It's not a really broad animation technique, but there's definitely going to be
02:17times when it's a good trick to have.
02:19So it's a very simple thing to achieve.
02:21Let's simply delete these.
02:24Now before we go any further, for the people who don't have access to the
02:28Exercise files, to get the gradients done -- this is very quick to demonstrate.
02:32So I am going to go to Gradient Transform tool.
02:34That's the kind of shape you want to create, and I think it's a four color gradient.
02:40The center one is at 0.
02:42Actually, you probably don't even need that one.
02:43So it's three colors really.
02:45This one here will be at 0, and if you put this hex color into your color palette
02:50and copy that: #7B7D3F, the middle one is at 32%, and that's #222D44, and the final
02:57one is #050403, and that's at 50%.
03:01You should, if you're lucky, get this gradient here exactly right, and that's a
03:05radial gradient, of course.
03:07The next one you would do will be the left gradient, and it's three color linear
03:12gradient, as you can see here.
03:13And again, three colors: the one on the left is 0% and your value is #3E3748, the middle
03:19color is at 30%, #222944, and the far is #16251C and that's at 70%.
03:27And just copy that for the one above and flip it horizontally, and you should be
03:31able to follow along reasonably well. And any little stick man you want to put in
03:34there will probably fine.
03:36So let's see if we can remember how we did this.
03:39I'm going to begin with F6ing these four columns, because these are the four
03:44layers that we are going to fade out.
03:45That's F6 here, and these will be the dark ones.
03:48So I am just going to hide these layers, so I can see exactly what I am dealing with.
03:52So let's just work on the top layer first, and I will select the Selection tool
03:56so I can cleanly select him.
03:59And we will do a basic brightness reduction on him in the Properties panel under
04:03color effect, and just pull him down to 0.
04:05The next layer down is the gradient left.
04:09So for this one we select the layer and then select Gradient Transform tool,
04:13or F. And you want all of these to go to a solid black.
04:17So I wouldn't want any tint or color on them. And I find that easier to type in
04:22the numbers with these.
04:23Okay, let's hide that. Do the next one.
04:30And just click on the values here 100, and make sure it's black.
04:36If any of these are even slightly not black when you fade out there is a chance
04:40you'll see a slight color band along one of these lines here.
04:44Now that's to be avoided.
04:46It's one of the problems I've had with these really subtle effects.
04:49For example, that there is not pure black, and you want it to be pure black.
04:53Then the next one; this gradient.
04:57Now here's where we can have a little bit of fun by pulling these markers on the
05:02gradient, you see it;
05:03we are actually animating the dropoff of the color, and here is where some of
05:07the real subtlety comes in.
05:08So this will actually animate, and I can pull this out to narrow that last
05:13central point, and again I want the end state to be completely black for all
05:17these colors. That would be bad, so we pull that down.
05:20Just pull it right down to the bottom, anywhere along here at the bottom will be black.
05:24Now let's see if we can pull the opacity up.
05:27It's very hard to tell really until you see the final things with all the layers
05:30exactly what that's going to look like.
05:33Well, let's do this and see what happens, and this one should be 100 as well.
05:37Again, I am having to type in those numbers.
05:40So this one is going to be shape tween.
05:43You see all the little white dots on it.
05:45So we create a shape tween.
05:47These are the two gradients as well;
05:49they will also be shape tween.
05:50Then the top layer is a graphical symbol with the blue line around it, a classic tween.
05:56We will activate the layers beneath.
05:58It's hard to tell otherwise.
06:03So right now they're all basically tapering off at the same time.
06:07So let's move some of these around.
06:09I am going to just click and drag the two linears out a little bit, and we can delay
06:15the hit on the oilman by simply clicking and dragging his symbol.
06:22And I am going to make him actually a little more dramatic, like he's really been hit
06:25by the light just by dragging him so that he is the last thing to darken.
06:29And don't forget, too, that each one of these layers has its own ease in and ease out.
06:33So that gives you even further control over it.
06:36Now the other thing that you can do, and I am going to hide these for the moment,
06:39is set a different state somewhere where the top light begins to drop off. So let's do that.
06:45I want to make a keyframe here.
06:47Just hit F6 and then activate the Gradient Transform tool.
06:51We will select that, and let's play with this a little bit.
06:54Now I can go into the center color here, and let's make it a little more
06:58transparent, and see what this looks like.
07:03That's giving us a hotter center, which will last a little bit longer.
07:07So this is the equivalent of having access to a much more sophisticated control.
07:12The thing that you're noticing right now is, as the light is narrowing, it's a
07:15little bit off-center, and I'd really like that to be a little tighter on him. And
07:20the cool part is, this little triangle widget can be used to push the center of
07:24illumination to target the oil man.
07:27So let's do the same thing with the last one even though it's black;
07:30we can't really see much.
07:32I am going to pull it back over there to match that.
07:35So now its like there is little iris, an imaginary light in the sky, just slowly,
07:40slowly fading out. And even here, right at the end, you can see there's little
07:44tiny dot right above it.
07:45Now we can go into this and we can use some of the ease outs.
07:49So let's ease out to about 80 and that will have it close out a little
07:53quicker, and we'll ease in on this side, and that will create a slightly more natural feel.
08:01Now let's reactivate the two beams at the top to see if they work with them.
08:04I suspect they're happening a little too fast,
08:06so let's see how they're working.
08:07Yeah, I think they're.
08:10I think they're being a little too aggressive.
08:11So what I'm going to do is just select the top one first, and the center point, I
08:17think it's here, let's see. Yup!
08:19What I am going to do is, instead of taking that all the way to black, let's see
08:25what happens if I make it 0 so it's transparent. Because what's happening is the
08:29bottom layer is going to black anyway.
08:31So we don't need black on black.
08:33So let's just make it go like this.
08:36I will do the same thing with the other one.
08:44Select that layer, and on the inside I will bring that down to 0. And if we wanted
08:49to, we could just widen this a little bit using the widgets on the controller.
08:54We could make the thing animate so it's moving in slightly.
08:59And we are not stuck with an object that can't be manipulated further.
09:03So same thing, I am selecting the gradient on the other side, and also pushing them in.
09:07So now when the scene closes out it's creating the illusion of some volume in the light.
09:14We also want to make sure that these are tracking the iris as it closes.
09:18So let's remember that we are a little asymmetrical with this.
09:21So I am going to turn that beam a little bit that way. And switch that off; work
09:26on one at a time. And this beam, also I think -- let's see I am holding down the
09:30spacebar to drag the Stage around, and now I will turn that this way. And now,
09:35easiest if we padlock all the levels.
09:39You want a really good monitor for this, but I think that's tracking really nicely.
09:43So let's go back to the outer Timeline and, again, have a look at that. Nice.
09:49And if you compare it with the other one, you see the difference. And this can be
09:53used for more things than fading out.
09:55Lighting is, I think, one of the more underused elements in staging scenes, even
09:59in live action films.
10:00So with that I think we're done, and I hope you've enjoyed following along
10:03the course.
Collapse this transcript
Conclusion
Goodbye
00:00That's the end of the course.
00:01I hope these tips and tricks will be of use to you.
00:04I certainly wish I'd known about them when I was starting out in Flash almost 11 years ago.
00:09In my previous course, Flash CS5 Professional Character Animation, you'll see
00:14some of these same techniques applied in much greater detail.
00:18Again, thank you for following to the end of the course!
Collapse this transcript


Suggested courses to watch next:

2D Character Animation (5h 50m)
George Maestri



Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,069 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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

   
submit Lightbox submit clicked