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

Creating a gradient globe

From: Animation Tips and Tricks with Flash Professional

Video: Creating a gradient globe

Here we're going to apply a gradient to a very common graphical symbol; a lot of people at some point need a spinning earth, or a planet. And it's pretty common to see some really cheesy ones out there in online graphics and whatnot. So here's how we take an existing gradient, and this is the identical assets, the same shapes, with some gradients applied. So as you can see, it's quite a transformation from one to the other. And actually we could add even more gradients, but for the purpose of the lecture, let's keep this simple. So we're looking at adding maybe about three gradients to the shape of the sphere itself, and maybe about four or five to the internal shapes of the map.

Creating a gradient globe

Here we're going to apply a gradient to a very common graphical symbol; a lot of people at some point need a spinning earth, or a planet. And it's pretty common to see some really cheesy ones out there in online graphics and whatnot. So here's how we take an existing gradient, and this is the identical assets, the same shapes, with some gradients applied. So as you can see, it's quite a transformation from one to the other. And actually we could add even more gradients, but for the purpose of the lecture, let's keep this simple. So we're looking at adding maybe about three gradients to the shape of the sphere itself, and maybe about four or five to the internal shapes of the map.

So I'm going to take you into this quick look-through. So layer by layer; we have our ocean on top of the map, and then the outer atmosphere, and then the shade layer. And we can push these; these are actually pretty subtle, but we have them in place; now we can do what we like. The map is basically the entire map of the Earth with a few bits chopped off out here, and it's masked with a layer that's the same shape as the ocean. And that basically frames the entire surface. That also allows us to move the map back and forth if we want to focus on different areas.

So what I'm going to do is, like I've done before, I'm going to delete some of the current layers, and recreate them to give you an idea about how this is constructed. So let me switch off the map layer first. And we'll just deal with the sphere of the Earth. Imagine there's no landmass on the Earth, and I'm going to take the beautiful blue orb and just make it a flat area. I'll pick a flat color, and fill that. This is what I consider the base shape of the globe. And obviously we want this to be a nice radial color.

So we've defaulted back to an earlier gradient that I've used, so let's just delete all of that. And what we're looking for here is something reasonably simple. I think three colors will be plenty. And let's pick a dark blue, obviously, so that will be the major color. Our opacity settings are too low; I'll bring them back up to 100%. And a quicker way of creating new clones; I'm just going to delete the ones that are there by dragging off, and I'm clicking here and creating new ones. So click that to drag, and click this to move. And now we have three that are pretty much the same.

So now I'm going to, as you can see, lighten that a little bit. Click on this and lighten that some more; maybe change the color slightly, and now let's fill this area. And by clicking at different spots you can see how you can start to create quite different illusions of illumination. So that's a bit more precise; we'll use the Gradient Transform tool. And again, snapping is on; let's switch that off. Let's do this. And I'm going to move this triangle slightly to one center, just to create a little more interesting shape.

Here I am going to move this down just to darken that out. And we can also, of course, change the position of the colors by pulling these back and forth. So let's lock that for now. Now I'm going to make the horizon, and this is the thing that will create the illusion of a dropoff. So let's do that. And we'll again click on the Fill tool. And we have our earlier gradient already created here, so let's make a different one. Pull these in. And we want the outer edge to be white.

And I think we'll fade it out to white as well. This is going to be the inside one; let's set that to 0. And this one, very subtle, just a little blue tint, just to give a hint of some kind of color so it's not pure white; that's kind of boring. So again, very subtle, bring this down to 10% or 15%, and I'm going to fill that. And now bear in mind, what we're seeing now is two gradients overlapping. And you really notice this if I pull this off to one side. Now you're seeing the outer edge of the white, over here, is now being shown there.

But if we pull this in to match the outline, you get a sense of how pretty this is going to look. So the outer edge is 100%; I'm going to bring that down, let's say, to 60%. This is too strong, and now you're seeing a great deal more subtlety in it. And this is completely a matter of your personal taste of course, but this is not looking too bad. And now the shade layer, which is also at the moment that default blue that I was using.

So let us make another gradient here. I want to drop the preceding gradient onto that, so obviously that's not the one that we want to use. So let's just reposition this anywhere. Don't be afraid, like I said, to really make a crazy artificial color if it helps to see exactly what you're working on. So this is going to be the shadow layer, and I think we probably should have four layers for this. And this inside one is going to be at the darkest, so let's make that one an interesting color; I'm going to make it, like, a darker purple.

Not too hot though, so I'm going to pull the color down a lot. What I'll do, it's easier and quicker, is to click over here, and drag new colors to this end, and then get rid of the old ones. You get used to this pretty quick. And let's see. Now, the outside, that's going to be 0, and now you can really see what we're doing.

The second one out from the right would be about 15. And then the mid one will be about 40. Okay. And now, it's a little too purple of course, that's obvious. So let's desaturate that, and we bring it closer down to a dark blue. This is less important on the more transparent colors, because they're obviously more transparent; you can make them almost any color sometimes. So let's just keep expanding this, and we also have access to this little triangle to change the shape. We can pull it out, and now we're starting to get a really nice feel of a planet floating in space.

And that leaves the last aspect, which is the Earth. Now, I've got a mask which is identical to one of these gradient shapes, so that's precisely matching the Earth. Let me go in, and we'll deal with the Earth by itself, because it looks like a lot of detail here, but it's very deceptive; it's quite simple. I want to do just one of the continents to give you an idea about how this was done. Let's pick North America, and this is the base North American shape, and I put the little southwest desert in as another gradient. Now, I'm going to duplicate these two layers, and hold down the Alt, Option key, and just drag them up here.

And I'm going to wipe the color, so I'm just going to give them a boring flat green. Same on this gradient thing here. Okay. So here we have North America. How do we make this more interesting? Well, let's just pick our fill again, and we want a radial, and I think three colors will be enough. And again, I'm going to just delete some of these. Pick a nicer green, and let's make it 100%; all these colors should be 100% for the base.

Obviously, you don't want to see through the land to the sea beneath. Okay. So that gives us three colors to play with. And we can select the entire area and click on -- actually, we would probably just be able to access the primary landmass, which will be the shape. And again, it's popped off my radial. So let's go to Radial gradient again, and refill that, and hopefully this time it will take, I'll fill the entire area. So I just clicked on the frame, click on the Fill tool, and now that's it.

So now when I select our tool here, we can begin to position this. And it depends where you want the darker areas to go. Bear in mind that the sun is coming from this way, so maybe you want your brighter stronger colors out here, and darker ones over there. So let's try that. And this is going to be the center of the tool, don't forget, so we will be radiating out from here. So what I'm going to do, in this case, is pull that to there so that the darker will be center, so let's do that.

Darken the middle color, and if it pops off like that and goes live with all the little dots on it, again, just click the Gradient Transform tool. And as you can see, it's a little too dark, so I'm going to pull the darker closer to the center. And if it does not fit in the curve, just expand this; pull this in. And we have two colors here that are pretty much the same so I'm going to alter one. And it's very good if you can change from one kind of green to another. You'll find it gives you a much more lively gradient.

And I think that our dark is a little too dark, so sometimes if I want to brighten it up, I'll hit the midpoint, delete that, and drag this to where the other one used to be. It's a quick and dirty way of making a change. Next thing to do is to drop in the desert for the Southwest. I don't think I need to worry about having all these little Baffin Islands up here; let's get rid of them. I'm just going to work on this area here. And click on the Fill, pick Radial, and this time I want to make a desert, like the American Southwest.

So let's go to something that's going to be a yellow value. And again, simpler just to drag these guys off, make a new one, and let's make this one really simple. So I'm just going to have the outside go to 0. And makes no sense right now because it's filling the entire map, so let's grab our F key, our Gradient Transform tool, and pull this in. And now we can pop it into roughly the area of the country that's desert. I'm feeling snap on again, so I have to switch that off.

Let's probably make the desert area not quite so bright; we want this to be subtle. I'm going to pull that in a bit more. And this is the kind of point when I usually need to make an intermediate color, and then drag it so that the dropoff is a little more subtle. Let's go in a bit tighter; have a look at this. I know there's not desert up in San Francisco, so let's pull this down a little bit. Okay. I'm going to pull the core in, and then basically move these around until I get something that has a much more natural feeling of dropoff.

And so this is the basic process that I've used to create these maps. And to look at the finished product, which has obviously a great deal more subtlety. You see, I've got some little blue tints in Alaska, and there's a layer for like the entire Sahara, and Arabia. There's the one that I've just done now; you can see how it's a little, maybe, too aggressive. Now that you see the process, though, you should easily be able to see how this was done. We're dealing with, like, a base gradient, and whatever additional layers you want on top of that. You could add another layer for the rainforest with a darker green, and with any of these maps, it's entirely a matter of your personal preference as to how many layers you want to add.

Bear in mind that the more layers you add, the slower a SWF file is going to work; that's my only warning on that. So when we pull out to the main Stage, here's our globe, and here is the before and the after. So keep this in mind as something that you might be able to use to add a little bit of extra heft to your graphics.

Show transcript

This video is part of

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

46 video lessons · 13342 viewers

Dermot O' Connor
Author

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

Start learning today

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

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

What are exercise files?

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

Can I take this course without the exercise files?

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

Become a member Download sample files See plans and pricing

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

Exercise files video

How to use exercise files.

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


Exercise files

Exercise files video

How to use exercise files.

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

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

Join now "Already a member? Log in

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

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


Mark all as unwatched Cancel

Congratulations

You have completed Animation Tips and Tricks with Flash Professional.

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


OK
Become a member to add this course to a playlist

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

Get started

Already a member?

Become a member to like this course.

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

Get started

Already a member?

Exercise files

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

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

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

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

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

Continue to classic layout Stay on new layout
Exercise files

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

Mark videos as unwatched

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

Control your viewing experience

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

Interactive transcripts

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

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


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

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

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

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

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

   
submit Lightbox submit clicked
Terms and conditions of use

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