Animate I | Introduction to Animate


Course Developers: Bill Drastal, Mark Waters, Russell Chun
Instructor: Kevin Hedgpeth
Layout: Patricio Sarzosa
Editor: Gordon Drummond, Tara MacKay


Bill Drastal

As an illustrator and animator, I've been using Adobe Flash for years, and I was happy to see the program reborn as Adobe Animate in Spring 2016. With the relaunch, Adobe's vector animation tool has gone back to what it does best: animating characters and scenes. I look forward to exploring the potential for Animate with you in this course.

Introduction to Animate

Get ready to learn how to draw and add gradients for a down-home project.

In February 2016, Adobe's storied animation program Flash was relaunched as Adobe Animate CC. With HTML5 Canvas and WebGL support, the revitalized product aims to help you "create animations for any platform."

Are you interested in creating animation for cartoons, ads, and games? Animate is a great place to start. In this course, we'll learn how to script and create an instructional video featuring a character that you will design. The project will help you get to grips with all aspects of Animate.

Our first lecture starts with the basics: setting up a document, using drawing tools, importing different kinds of media, and keeping your projects organized. But first, a quick history lesson...

 

In this lecture, you can expect to:

Learn how Animate came about and what it's used for.
Learn to create and modify a document in Animate.
Learn the goals of Animate publish settings.
Learn how to use shape and freeform drawing tools and how to add fill and stroke colors.

Animate CC is an animation and authoring tool that evolved out of Adobe Flash Professional.

Animate CC can be used to create animations, ads, and games.

ActionScript is a coding language developed for Flash. Animate uses JavaScript to add basic interactivity when exporting to HTML5 Canvas.

Go to the Window > Workspace menu whenever you need to reset the locations of your panels or to try other layouts.

Document settings can be changed at any time in the Properties Inspector (when nothing else is selected) or by going to Modify > Document.

 

What Is Adobe Animate?

 

A Short History of Flash

To understand how Adobe Animate CC came about, and what it's used for, it's helpful to know a bit about its predecessor Flash.

In the early years of web design (from the year 2000 through 2010) Flash was an incredibly popular tool for delivering dynamic multimedia content on the web. Though it began life in 1995 as an animation program called Future Splash, Flash soon became a swiss army knife for online design projects.

Paired with a programming language called ActionScript 2.0, Flash could create all sorts of interactive experiences. The Flash Player plugin was installed in most web browsers, making it easy to use Flash to deliver rich media such as video over the web. Vector graphics could be combined with animations and effects to create graphically powerful, exciting interfaces, so some designers used Flash to build entire websites.

This Flash animation, by Alan Becker, of the animator doing battle with his animation within the Flash interface went viral in 2006. "Animator vs. Animation" can be seen here.

Two events brought the heyday of Flash to an end. First, YouTube emerged as a platform for delivering video content that anyone could use. Second, after struggles getting Flash to work on its first iPhones, Apple's Steve Jobs famously issued a memo in 2010 announcing the decision to not support Flash on any Apple mobile products.

Lack of support on the wildly popular iPhone seemed to spell doom for Flash, and by 2012, experts were predicting the end (see SpeckyBoy's Rise and Fall of Adobe Flash and Mashable's The Life, Death, and Rebirth of Flash.)

Funny thing is, Flash hung around. Adobe's developers began to look for ways for Flash to support HTML5 Canvas, WebGL, and other formats compatible with the new HTML5 web standards and mobile devices. And in February 2016, Adobe reinvented Flash as Adobe Animate CC (you can read the launch memo here).

From Flash to Animate

In many ways Adobe Animate CC is like an early version of Flash. It is an animation and authoring tool that can integrate many kinds of media—text, images, animations, sound, and video—to create a rich, interactive experience.

The difference with Animate CC is that the options and features available will vary depending on where you publish your projects.

If you are developing a game to be played on a computer browser using the Flash Player, you will save your files as a SWF and have a wide range of feature options. If you are creating an animation for the web for viewing on desktop computers and mobile devices, you'll need need to author your project within a more limited feature set for HTML5 Canvas.

Animate CC also provides easy access to content resources that are standard throughout Creative Cloud products, such as Adobe Stock and Typekit.

Don't worry, we'll show you how to manage all of your animation and export options in this course!

What Can Animate Be Used For?

So what can you do with Animate? You can create simple animations that tell a story with images and sounds. For years, Flash has been used to create simple online greeting cards with animations, and Animate will continue this tradition:

This animated card from Blue Mountain combines sound and animation to deliver a fun message.

(Animate can also be used to create cartoons for broadcast media channels such as Nickelodeon and The Cartoon Network.)

Another Flash tradition that Animate will continue is the production of online ads, sometimes called banner ads. Back in the day, we'd publish ads as SWF files, easily displayed in your web browser. No more! Online ads are animated using HTML5 today, and Adobe's developers have worked hard to make Animate CC a viable authoring environment for HTML5.

This is an example of a banner ad built in HTML5 that is responsive and can be viewed on desktop computers as well as mobile devices with the size of the ad adapting to the two different screen sizes.

A third purpose for Animate is creating simple online games, whether they are played as casual web games or downloaded as apps.

In this lesson, we'll begin by learning how to create vector artwork in Animate and import different kinds of graphic and media files.

So let's get comfortable, launch the program, and get started!

Your First Animate File
Starting an Animate Project

Open a new project in Animate by choosing File > New. In the dialog that appears, choose ActionScript 3.0 and click OK. Leave all the other settings such as Stage height and width at their default settings.

ActionScript 3.0 is the most recent version of Flash's coding language and it allows you add interactivity to your project.

For publishing files to HTML5 and WebGL, Animate has incorporated JavaScript Code Snippets. You will learn more about that in Lesson Six.

Let's take a moment to explore the different document types available when you first create an Animate file:

 
 
  • HTML5 Canvas: Choose this document type to publish to HTML5 and JavaScript.
  • WebGL: Choose this document type for graphics and animation only. WebGL takes advantage of hardware acceleration for faster graphics processing.
  • ActionScript 3.0: Choose this document type to publish SWF files to play in the Flash Player in a desktop browser.
  • AIR for Desktop: Choose this document type to publish an application that runs on the desktop, without requiring a browser.
  • AIR for Android or iOS: Choose this document type to publish a mobile app for Android or the iPhone. Additional certificates and licenses are required to publish and distribute mobile apps.

 

 
 

After the new file opens, the first thing you need to do is to save your project. Choose File > Save. Choose a descriptive name and save your project with a .fla extension. Your source file is known as a FLA (sometimes pronounced "flah") file, and it contains all the necessary content that will let you make edits and publish the final file. Keep the FLA file safe, because it is your source document.

The file type we will use when we're ready to export our work in this first lesson is ShockWave Flash, or SWF (pronounced like "swiff"). The three-letter extension for a Flash file is always .swf. When we publish from ActionScript 3.0, Flash's former programming language, the file will export as a SWF. This format cannot be viewed on mobile devices but we can use it for now to learn the wide range of animation options available in Animate.

Getting Familiar with the Workspace

Let's get comfortable with the Animate workspace.

The large white rectangle in the middle of your screen is the Stage. That is where you place all your visual elements. The gray area around the Stage is called the Pasteboard. Although you can put visual elements on the Pasteboard, they won't be visible to your audience when you publish your exported files; they are only visible in your FLA.

Below the Stage is the Timeline. The Timeline measures in frames, which are the tiny numbered rectangles that run horizontally. The Timeline is organized in layers. Currently there is only a single layer, called "Layer 1." Layers determine how objects overlap each other; layers on top overlap layers on the bottom. On the far right is the vertical Tools panel. The Tools panel contains all the tools to select, draw, and edit graphics. Next to the Tools panel is the Library panel and the Properties inspector, which are accessible from the tabs on the top of the panel.

The Library panel is where all of the assets (graphics, images, and sounds) in your animation are stored. You can create a folder for each type of asset and keep everything consolidated and organized.

The Properties inspector is one of the most important panels—you'll turn to it very often. It is context-sensitive, meaning it shows different information and options depending on what object is selected. For example, if nothing is selected on the Stage, you'll see information about the overall document.

If you wish, you can move the panels around to suit your own working style. To move panels, simply click and drag them from their top gray horizontal bar. You can dock them in new positions when you see a blue highlighted area appear under the panel. You can also collapse panels by double-clicking their top gray horizontal bar.

You may find it useful to collapse the panels to icon mode to save space. Click the double-headed arrows on the top-right corner of each panel. The panel collapses to an icon, and you can access the full panel quickly by just clicking the icon.

If you want to restore the original, default panel layout, choose Window > Workspace > Reset Essentials, or choose Essentials > Reset Essentials above the Stage. Essentials is the name of the default workspace.

Setting Up Your Project

Before we get started, let's take another look at the Properties inspector and view some settings that are important for animation, our ultimate goal. In the Properties section, note the FPS, Size, and Stage values.

FPS is the frame rate (frames per second), and it measures how many frames make up one second of an animation. The faster the frame rate, the smoother your animation will appear. (We'll revisit this later in the course when we talk animation.) Keep the frame rate at around 24-30 FPS. On slower performing computers, you can lower the frame rate, but don't go lower than 12 FPS, because your animation will appear choppy.

Enter new values next to Size to change the dimensions of the Stage. For this lecture, enter 800 pixels for the width and 600 pixels for the height. Click the white square to change the background color of the Stage, if you wish. You can always change the frame rate, size, or background color of the Stage at any time. These settings are also available by clicking Modify > Document at the top of your screen.

Animate's drawing tools create vector shapes that resize cleanly and save file space.

In addition to using the Oval and Rectangle tools, try drawing polygons and stars with the PolyStar tool.

Clicking a shape once with the Selection tool will select the fill only. Double-click to select the fill and stroke together.

Hold the Shift key to constrain Free Transform scaling to even proportions or Free Transform rotation to 45-degree angles.

Shapes are made up of points and paths. Modifying these with precision requires the Subselection tool, which takes time to master.

Be sure to group elements of your design for easy arranging and moving and to prevent objects from intersecting with each other.

Linear gradients can blend vertically or horizontally. Radial gradients blend from the inside outward.

Use the Gradient Transform tool to place your blend more realistically within your shape.

Hover over the Align panel buttons to learn what each one does, or try them all out on a series of basic shapes.

Drawing in Animate
Vectors vs. Bitmaps

OK, let's draw! How do we do that in Animate? Well, it's important to understand how computers display graphics. There are two primary ways to draw with the computer: with vectors or with bitmaps. Vectors represent drawings with mathematical formulas, while bitmaps represent drawings with tiny little colored dots called pixels.

Vector drawings stay smooth when zoomed (left). Bitmaps show quality loss when zoomed (right).

Animate is a vector-based drawing program. When you draw a circle, for example, Animate remembers the image as a mathematical object of a certain radius, filled with a particular color and outlined in a particular color. When you zoom up on the circle, the program re-renders the curve with the mathematical formula and particular parameters of the circle, so it remains sharp without any loss of resolution.

When you zoom up on a bitmap circle, the pixels are fixed and there isn't enough information to render the curve without looking terrible. We say that vector drawings are "resolution-independent" and bitmaps are "resolution-dependent." This is important to keep in mind because you may be using both vector drawings and bitmap images in Animate, and you should understand the effects and limits of scaling (making the images bigger or smaller).

Drawing: Strokes and Fills

The key to Animate's drawing tools hinges on two important concepts: the stroke and the fill. (If you are an Adobe Illustrator user, these concepts will be familiar to you.)

The stroke is the outline of an object while the fill is the inside color of the object. The stroke and the fill are independent of each other, so you can select, delete, or edit the stroke separately from the fill. When you draw a shape, you'll always select the properties of the stroke and fill first, and then draw the shape on the Stage.

Let's begin by using simple shapes: ovals and rectangles. In this lesson, you'll draw a cute pig to learn to use the various drawing and editing tools.

Click the Oval tool from the menu of additional tools. A small triangle at the corner of a tool indicates additional related tools hidden under it.

When you select the Oval tool, more options appear in the Properties inspector and at the bottom of the Tools panel. At the bottom of the Tools panel, make sure that the Object Drawing mode is not selected. Object Drawing mode is represented by the oval icon just above the magnet icon at the bottom of the Tools panel. If it is light gray, it is not selected, and if it is dark gray and outlined, it is selected.

In the Properties inspector, or at the bottom of the Tools panel, let's choose a dark brown color for the stroke and a nice pink color for the fill. For the stroke, click the color chip below the pencil icon. In the color palette that appears, you can choose from the "web safe" colors or click the color wheel at the top right if you want access to more colors. You can also choose the icon with the diagonal red line if you want no color, or change the transparency of the color by changing the Alpha value. After you choose a stroke color, click the color chip below the paint bucket icon and select a fill color.

Now click and drag on the Stage to define an oval for your pig's face. Congratulations, you've just created your first shape!

Drag-selecting (top) and the selected shape (bottom).

Now let's draw a second shape for his ear. Click and draw a smaller, thinner oval off to the side of the face. Choose the Selection tool (you can access this tool by hitting "V" on your keyboard). To select a shape, drag the Selection tool around it, or double-click the shape. Both the stroke and the fill of the oval become highlighted in dots, indicating that they are selected.

Choose the Free Transform tool ("Q"). A box with control points appears around the selected oval. The Free Transform tool lets you change the size or rotate a selection. Click and drag the control points to transform the selection; try stretching, squashing, or rotating it (click and drag close, but not over, the corner control points to rotate). Rotate the oval about 45 degrees so the pig's ears will be angled up.

Choose the Selection tool again and drag the small oval over the larger oval and click an empty part of the Stage to deselect it.

Rotating the ear with the Free Transform tool (left) and moving it into place with the Selection tool (right).

The small oval will intersect the large oval. If you try to select it again and move it away, you'll see the overlapped portions have disappeared! Animate does this to save memory. The overlapped portions are not visible, so the program deletes them.

There are other ways to maintain the integrity of your overlapping shapes, which you'll learn later in this lecture, but this behavior is actually a useful drawing tool. You can punch holes in shapes, or intersect strokes and fills to create new strokes and fills that you can move around and edit. Move the small oval back over the larger oval. Select the stroke that overlaps the pig's face (by clicking on it once with the Selection tool) and press the Delete key. The stroke is deleted, leaving the ear connected to the face with one continuous fill.

Create a second oval, rotate it, and move it over the face for the other ear.

Modifying Shapes

Let's refine the shape of the ears to make them appear more ear-like.

Choose the Selection tool. Hold down the Alt key (PC) or Option key (Mac) and click and drag to create a new corner point. You can modify the contours of shapes by clicking and dragging on the sides of any shape. Push and pull on the sides until you get just the right curves.

Hey, now is a good time to mention undoing a step. If you're not happy with one of your changes, you can undo it by going to Edit > Undo or by pressing Ctrl+Z (PC) or Command+Z (Mac), same as most other programs you're used to.

If you want more precision in modifying the ears, choose the Subselection tool ("A"). This tool allows you to adjust the points that make up the path surrounding a shape. Click any shape once with the Subselection tool and control points around the shape appear. You can move the control points themselves and/or drag the handles of the control points to change the curves. Once you get the hang of it, this is a precise way to modify shapes.

Unhappy with the color of your pig? Modify the fill or stroke color with the Paint Bucket tool or the Ink Bottle tool. The Paint Bucket tool ("K") changes the fill and the Ink Bottle tool ("S") changes the stroke. Simply select a new color for the stroke or fill in the Properties inspector. Then click the fill or the stroke you want to modify.

Using Groups

Groups are a way to keep several shapes together so you can move them as a unit, and prevent them from intersecting overlapping shapes. Group your shapes by selecting them and choosing Modify > Group. A blue rectangle appears around your group, and you can move the whole group as one object.

If you have several groups, you can control how they overlap each other by changing their stacking order. Choose Modify > Arrange, and choose whether you want the group to move forward or behind the other groups.

In this example, I've created a snout for our pig using several ovals, and made a group out of it.

I can move the snout over his face and not worry about having it mess up the face below. Groups help organize your drawing and will make it easier to manage a complex illustration.

To edit a group, double-click it with the Selection tool. The objects on the Stage around it dim, and you'll enter a temporary editing mode for your group. Edit the group as you need, and double-click the Stage to return.

To revert to a group's component parts, choose Modify > Break Apart or Ctrl+B (PC) or Command+B (Mac).

Creating Gradients

Gradients are a way to give a shape more depth and three-dimensionality. Gradients are a blending of one color to another. There are two kinds of gradients: linear gradients, in which the colors blend in a straight line, and radial gradients, in which the colors blend from inside to outside in a circular fashion.

Linear gradient (left) and radial gradient (right)

The pig's face is grouped and selected.

Let's create the pig's body with a radial gradient to make it appear round and plump. Select all the elements of the pig's face (I've added a few additional details to complete it, and you can too) and group it.

Choose the Oval tool and open the Color panel (Window > Color).

Click the Fill option (paint bucket icon) and choose "Radial gradient" from the dropdown menu. The gradient at the bottom of the panel shows how one color blends to the next. The positions of the color pointers determine how quickly or how gradually the colors blend. If the color pointers are close together, the colors blend very quickly. If the color pointers are far apart, the colors blend very gradually. Double-click the color pointer to change the color. Click the gradient to add additional colors. Drag the color pointers off the panel to remove them. For the pig's body, choose a pink color for the inside color and a darker pink for the outer color.

Create a large oval behind the pig's face. The fill of the oval shows a radial gradient from light to dark, with the gradient positioned at the center.

Modifying Gradients

You'll probably want to modify how the gradient appears in the oval. What if you wanted the gradient to be off-center? Or, the gradient to be more spherical than oval? You can use the Gradient Transform tool ("F"), which is hidden below the Free Transform tool, to make those kinds of modifications to a gradient.

Click your pig's body with the Gradient Transform tool. Circular controls appear on the gradient. You can click and drag on the various controls to move the center, rotate, or scale the gradient. Explore how the different controls affect the way the gradient appears. In my example, I've moved the center of the gradient and expanded it slightly.

Aligning Objects

There are various ways in which you can align objects or space them evenly. You can use rulers (View > Rulers) or a grid (View > Grid > Show Grid) to help position objects on the Stage. You can also select an object and change its X and Y position in the Properties inspector. You can also turn to the Align panel (Window > Align), which has various options for vertical and horizontal alignment and distribution.

In the example below, I have the pig's four legs selected. The legs were created with the Rectangle tool with a linear gradient fill, and the hooves were pulled out of the bottom of the rectangle by holding down the Alt/Option key and using the Selection tool. I bisected the leg with the Line tool so I could fill the hoof with a different color than the leg.

Now, I want them all to be at the same baseline and evenly spaced from one another. In the Align panel, I can choose the "Align bottom edge" and "Space evenly horizontally" options, and Animate takes care of the job. If you want to align your selected objects relative to the Stage, select the Align to stage option at the bottom of the Align panel.

The settings I have circled in red in the Align panel arrange my feet with even spacing and along a horizontal line. Hover over any Align icon to see what it will do.

Freeform Strokes and Fills

What's a pig without his curly tail? We have one more feature to add to our illustration. For freeform shapes like a spiral tail, you can use the Brush or Pencil tool. The Brush tool ("B") creates freeform fills and the Pencil tool (Shift "Y") creates freeform strokes. If you want to create straight strokes, choose the Line tool ("N").

For the tail, choose the Brush tool. At the bottom of the Tools panel, additional options appear; you can select a different brush shape and a brush size. Keep the brush shape a circle, and experiment what works best for the brush size. Choose a darker pink fill color in the Properties inspector, and draw out your pig's tail. You can apply a stroke to the shape of the tail with the Ink Bottle tool if you want a little more definition.

Select your tail and make it into a group (Modify > Group) if you want to control its overlapping arrangement (Modify > Arrange) with the other parts of the pig. Shapes that are not grouped automatically appear behind all groups.

Select your finished tail and move it in place behind the pig and your pig illustration is done! Make sure to save him. We'll use him again in a moment.

Also, if you want to create your own curves for the tail or any addition to the pig (a hat, perhaps?), and already feel comfortable with other drawing tools, try the Pen tool ("P"). The Pen tool allows you to create your own points and paths for precision shapes. It takes some practice to use effectively, but it's worth the effort. Click the Stage once with the Pen to start a curve, then click to define the next point. Click and drag to pull out the handles that define the curvature at that point. Continue clicking and pulling until you are back to your first point, them click to close the path. Now, like any other shape, you can add a stroke or fill, transform, modify, or delete as desired.



     
Learn how to import vector or bitmap images and trace them.
Learn how to utilize the Paint Brush tool.
Learn techniques for managing images including groups, layers, and symbols.
 

Discussion
Share your thoughts and opinions about Flash with other students at the Discussion Board.

Exercise
Choose a topic, research the topic, create an outline, and write a script.