1. Getting Acquainted


Lesson overview

In this lesson, you’ll learn how to do the following:

  • Create a new file in Adobe Animate CC

  • Adjust Stage settings and document properties

  • Add layers to the Timeline

  • Understand and manage keyframes in the Timeline

  • Work with imported images in the Library panel

  • Move and reposition objects on the Stage

  • Open and work with panels

  • Select and use tools in the Tools panel

  • Preview your animation

  • Save your file

Image

This lesson will take less than 1 hour to complete. Please log in to your account on peachpit.com to download the lesson files for this chapter, or go to the Getting Started section at the beginning of this book and follow the instructions under “Accessing the Lesson Files and Web Edition.”


Image

In Animate, the Stage is where you lay out all your visual elements, the Timeline organizes frames and layers, and other panels let you edit and control your creation.

Starting Adobe Animate CC and Opening a File

The first time you start Adobe Animate CC you’ll see a Welcome screen with links to standard file templates, tutorials, and other resources. In this lesson, you’ll create a simple slideshow-type animation to showcase a few vacation snapshots. You’ll add a background, photos, and some decorative elements, and in the process you’ll learn about positioning elements on the Stage and placing them along the Timeline so they appear one at a time, in sequence. You’ll begin learning how to use the Stage to organize your visual elements spatially, and how to use the Timeline to organize your elements temporally.


Image Note

If you have not already downloaded the project files for this lesson to your computer from your Account page on peachpit.com, make sure to do so now. See “Getting Started” at the beginning of the book.



Image Tip

You can also start Animate by double-clicking an Animate file (*.fla or *.xfl), such as the 01End.fla file that is provided to show you the completed project.


  1. Start Adobe Animate CC. In Windows, choose Start > Programs > Adobe Animate CC. On a Mac, double-click Adobe Animate CC in the Adobe Animate CC folder in the Applications folder.

  2. Choose File > Open. In the Open dialog box, select the 01End.fla file in the Lesson01/01End folder and click Open to see the final project.

  3. Choose File > Publish.

    Animate creates the necessary files to play in the target platform. In this example, the HTML5 Canvas Document creates an HTML file, a JavaScript file, and a folder of images to display the final animation in a browser. The files are saved in the same folder as your Animate document.


    Image Note

    When launching Adobe Animate CC for the first time, you may be asked to sync settings with Creative Cloud. Choose Disable Sync Settings. Synchronizing settings with CC enables you to save your application and workspace preferences across multiple computers.


  4. Double-click the HTML file.

    An animation plays. During the animation, several overlapping photos appear one by one, with stars appearing at the end.

    Image

    Image Note

    The Output panel will display a warning saying that the bitmaps were packed into a spritesheet and that EaselJS is starting frame numbers at 0 instead of 1. You can ignore both warnings. The first is just a notification, and the second is irrelevant because you are playing the Timeline straight from beginning to end.


  5. Close the browser.

Creating a new document

You’ll create the simple animation that you just previewed by starting a new document.

  1. In Animate, choose File > New.

    The New Document dialog box opens.

    Image
  2. Under the General tab, choose the first option, HTML5 Canvas.

    The other options target different playback technologies. For example, WebGL is a document type for animation that takes advantage of hardware-accelerated support for graphics. ActionScript 3.0 is a document type that targets the Flash Player. AIR for Android and AIR for iOS are documents configured to play as apps on an Android or Apple mobile device. AIR for Desktop targets documents for playback as stand-alone programs on Windows or Mac desktop computers.

  3. On the right side of the dialog box, you can choose the dimensions of the Stage by entering new pixel values for the Width and Height. Enter 800 for Width and 600 for Height. Keep the Ruler Units as Pixels.

    Image

    Leave the Frame Rate and Background Color for the Stage at their default settings. You can always edit these document properties, as explained later in this lesson.

  4. Click OK.

    Animate creates a new HTML5 Canvas document with all the specified settings.

  5. Choose File > Save. Name the file 01_workingcopy.fla, and from the File Format/Save As Type menu, choose Animate document (*.fla). Although the software application is called Animate, be aware that the file extension is .fla or .xfl, which both preserve echoes of the name of the ancestor of Animate: “Flash.”

    Save it in the 01Start folder. Saving your file right away is a good working habit that ensures your work won’t be lost if the application or your computer crashes. You should always save your Animate file with the extension .fla (or .xfl if you save it as an Animate Uncompressed Document) to identify it as the Animate source file.

Understanding Document Types

Adobe Animate CC is an animation and multimedia authoring tool that creates media for multiple platforms and playback technologies. Knowing where your final animation will play determines what type of document you’ll choose as a new file.


Image Note

Not all features are supported across all document types. For example, WebGL documents don’t support text, and HTML5 Canvas documents don’t support the 3D Rotation or Translation tool. Unsupported tools are grayed out.


Playback environment

The playback, or runtime, environment is the technology that your final, published files use to play. Your animation could play in a browser with the Flash Player, or they could play in a browser with HTML5 and JavaScript. Perhaps your animation will be exported as an HD video to be uploaded to YouTube. Or your project could play as an app on a mobile device. You should make that decision first so you can choose the appropriate document type.


Image Note

This latest version of Animate CC supports only ActionScript 3.0. If you need ActionScript 1.0 or 2.0, you must work with Flash Professional CS6 or lower.


Regardless of the playback environment and document type, all document types are saved as FLA or XFL (Animate) files. The difference is that each document type is configured to export different, final published files.

  • Choose HTML5 Canvas to create animated assets that play back in a modern browser using HTML5 and JavaScript. You can add interactivity by inserting JavaScript within Animate CC or adding it to the final published files.

  • Choose WebGL for pure animated assets to take advantage of hardware-accelerated support of graphics.

  • Choose ActionScript 3.0 to create animation and interactivity that plays in the Flash Player in a desktop browser. ActionScript 3.0 is the latest version of the native scripting language in Animate, which is similar to JavaScript. Choosing an ActionScript 3.0 document doesn’t mean you have to include ActionScript code. It simply means that your playback target is the Flash Player.


    Image Note

    The ActionScript 3.0 document also supports publishing content as a projector for either Mac or Windows. A projector plays as a stand-alone application on the desktop, without needing a browser.


    Be aware that Adobe will no longer back the Flash Player in browsers beyond 2020. Despite this impending end-of-life date for the Flash Player, it’s best to think of an ActionScript 3.0 document as one that supports the widest range of drawing and animation features in Animate from which you can ultimately export animation assets, such as spritesheets or PNG sequences, or finished high-definition video.

  • Choose AIR for Desktop to create animation and interactivity that plays as an application on Windows or Mac desktops, without needing a browser. You can add interactivity in an AIR document using ActionScript 3.0.

  • Choose AIR for Android or AIR for iOS to publish an app for an Android or an Apple mobile device. You can add interactivity for your mobile app using ActionScript 3.0.


Image Tip

You can easily switch from one document type to another. For example, you can convert an ActionScript 3.0 document into an HTML5 Canvas document if you have an old Flash banner ad animation that you want to update. Use Commands > Convert To Other Document Formats or File > Convert To to choose a new document type. Some functionality and features may be lost in the conversion, however. For example, conversion to an HTML5 Canvas document will comment out ActionScript code.


Getting to Know the Workspace

The Adobe Animate CC work area includes the command menus at the top of the screen and a variety of tools and panels for editing and adding elements to your movie. You can create all the objects for your animation in Animate, or you can import elements you’ve created in Adobe Illustrator, Adobe Photoshop, Adobe After Effects, or other compatible applications.

By default, Animate displays the menu bar, Timeline, Stage, Tools panel, Properties panel, Edit bar, and a few other panels. As you work in Animate, you can open, close, group, ungroup, dock, undock, and move panels around the screen to fit your work style or your screen resolution.

Image

Choosing a new workspace

Animate also provides a few preset panel arrangements (“workspaces”) that may better suit the needs of particular users. Use the Window > Workspaces submenu to choose a different workspace or to save a new one. The same functionality is provided by the workspace switcher at the right end of the Application bar.

  1. Click the workspace switcher and choose a new workspace.

    The various panels are rearranged and resized according to their importance in the chosen workspace. For example, the Animator and Designer workspaces put the Timeline at the top for easy and frequent access.

    Image
  2. If you have moved some of the panels around and want to return to one of the prearranged workspaces, choose Window > Workspaces > Reset [preset name] and click OK in the confirmation dialog box.

  3. To return to the default workspace, choose Window > Workspaces > Essentials. In this Classroom in a Book, we’ll be using the Essentials workspace.

Saving your workspace

If you find an arrangement of panels that suits your style of work, you can save it as a custom workspace and return to it at a later date.

  1. Open the workspace switcher and choose New Workspace.

    Image

    The New Workspace dialog box appears.

  2. Enter a name for your new workspace. Click OK.

    Image

    Animate saves the current arrangement of panels and adds it to the options in the Workspace menu, which you can access at any time.


Image Tip

By default, the Animate interface is dark. However, you can change the interface to a lighter gray if you prefer. Choose Edit > Preferences (Windows) or Animate CC > Preferences (Mac), and in the General preferences category, choose Light from the User Interface menu.


About the Stage

The big white rectangle in the middle of your screen is called the Stage. As with a theater stage, the Stage in Animate is the area that viewers see when a movie is playing. It contains the text, images, and video that appear on the screen. Move elements on and off the Stage to place them in and out of view. You can use the rulers (View > Rulers) or grids (View > Grid > Show Grid) to help you position items on the Stage. Additionally, you can pull guides from the ruler (View > Guides) or use the Align panel and other tools you’ll learn about in later lessons in this book.

By default, you’ll see the gray area off the Stage where you can place elements that won’t be visible to your audience. The gray area is called the pasteboard. To see only the Stage, choose View > Magnification > Clip To Stage to select the option. For now, leave the option to view the pasteboard selected.

You can also click the Clip Content Outside The Stage button to crop the graphic elements that fall beyond the Stage area to see how your audience will view your final project.

Image
Image

Default Stage

Image

Stage with Clip Content Outside The Stage selected

To scale the Stage so that it fits completely in the application window, choose View > Magnification > Fit In Window. You can also choose different magnification view options from the menu just above the Stage.

Image

Image Tip

You can view the Stage in full-screen mode without the distraction of the various panels by choosing View > Screen Mode > Full Screen Mode. Use F4 to toggle the panels, and press the Esc key to return to Standard Screen Mode.


Changing the Stage properties

Now you’ll change the color of the Stage. The Stage color, along with document properties such as the Stage dimensions and frame rate, is available in the Properties panel, which is the vertical panel just to the right of the Stage.

  1. In the Properties pane of the Properties panel, note that the dimensions of the current Stage are set at 800 x 600 pixels, which you chose when you created the new document.

    Image
  2. Also in the Properties pane, click the Background Color box next to Stage: and choose a new color from the color palette. Choose dark gray (#333333).

    Image

    Your Stage is now a different color. You can change the Stage properties at any time.

Working with the Library Panel

The Library panel is accessible from a tab just to the right of the Properties panel. The Library panel is where you store and organize symbols created in Animate, as well as imported files, including bitmaps, graphics, sound files, and certain video clips. Symbols are graphics used frequently for animation and for interactivity.


Image Note

You’ll learn much more about symbols in Lesson 3.


About the Library panel

The Library panel lets you organize library items in folders, see how often an item is used in a document, and sort items by type. When you import items into Animate, you can import them directly onto the Stage or into the library. However, any item you import onto the Stage is also added to the library, as are any symbols you create. You can then easily access the items to add them to the Stage again, edit them, or see their properties.

To display the Library panel, choose Window > Library, or press Ctrl+L (Windows) or Command+L (Mac).


Image Tip

You can also access the assets that you’ve stored in your Creative Cloud account by clicking the CC Libraries icon (Window > CC Libraries).


Importing an item to the Library panel

Often, you’ll create graphics directly with the drawing tools in Animate and save them as symbols, which are stored in the library. Other times you’ll import media such as JPEG images or MP3 sound files, which are also stored in the library. In this lesson, you’ll import several images into the library to be used in the animation.

  1. Choose File > Import > Import To Library. In the Import To Library dialog box, select the background.png file in the Lesson01/01Start folder, and click Open.

    Animate imports the selected PNG image and places it in the Library panel.

  2. Continue importing photo1.jpg, photo2.jpg, and photo3.jpg from the 01Start folder.

    You can also hold down the Shift key to select multiple files and import all of the images at once.

    The Library panel displays all the imported images with their filenames and a thumbnail preview. These images are now available to be used in your Animate document.

    Image

Adding an item from the Library panel to the Stage

To use an imported image, simply drag it from the Library panel onto the Stage.

  1. Choose Window > Library to open the Library panel if it isn’t already open.

  2. Select the background.png item in the Library panel.

  3. Drag the background.png item onto the Stage and place it approximately in the center of the Stage.

    Image

    Image Tip

    You can also choose File > Import > Import To Stage, or press Ctrl+R (Windows) or Command+R (Mac), to import an image file to the library and put it on the Stage all in one step.


Understanding the Timeline

In the default Essentials workspace, the Timeline is located below the Stage. As do films, Animate documents measure time in frames. As the movie plays, the playhead, shown as a red vertical line, advances through the frames in the Timeline. You can change the content on the Stage for different frames. To display a frame’s content on the Stage for any particular time, move the playhead to that frame in the Timeline. The frame number, as well as the time in seconds, is always displayed above the Timeline.

At the bottom of the Timeline, Animate indicates the selected frame number, the current frame rate (how many frames play per second), and the time that has elapsed so far in the movie.

Image

The Timeline also contains layers, which help you organize the artwork in your document. At the moment, your project has only one layer, which is called Layer 1. Think of layers as multiple film strips stacked on top of one another. Each layer can contain a different image that appears on the Stage, and you can draw and edit objects on one layer without affecting objects on another layer. The layers are stacked in the order in which they overlap each other so that objects on the bottom layer in the Timeline are on the bottom of the stack on the Stage. You can hide, lock, or show the contents of layers as outlines by clicking the dots in the layer under the layer option icons.

Image

Renaming a layer

It’s a good idea to separate your content on different layers and name each layer to indicate its contents so that you can easily find the layer you need later.

  1. Select the existing layer in the Timeline, called Layer 1.

  2. Double-click the name of the layer to rename it, and type background.

  3. Click outside the name box to apply the new name.

    Image
  4. Click the dot below the lock icon to lock the layer. Locking a layer prevents you from accidentally moving or making changes to whatever is inside that layer.

    Image

    A lock icon appears in the layer. The lock icon indicates that you can’t make edits to the layer because it is locked.

Adding a layer

A new Animate document contains only one layer, but you can add as many layers as you need. Objects in the top layers will overlap objects in the bottom layers.

  1. Select the background layer in the Timeline.

  2. Choose Insert > Timeline > Layer. You can also click the New Layer button below the Timeline. A new layer appears above the background layer.

    Image
  3. Double-click the new layer to rename it, and type photo1. Click outside the name box to apply the new name.

    Your Timeline now has two layers. The background layer contains the background photo, and the newly created photo1 layer above it is empty.

  4. Select the top layer, called photo1.

  5. Choose Window > Library to open the Library panel if it isn’t already open.

  6. Drag the library item called photo1.jpg from the library onto the Stage.

    The photo1 JPEG appears on the Stage and overlaps the background image.

    Image
  7. Choose Insert > Timeline > Layer, or click the New Layer button (Image) below the Timeline, to add a third layer.

  8. Rename the third layer photo2.


    Image Note

    As you add more layers and your overlapping graphics become more complicated, click the dot below the eye icon in your layer to hide the contents of any layer. Alternatively, hold down the Shift key and click the dot below the eye icon to make the layer transparent so you can see what’s below it. Hiding or making a layer transparent affects only how you see your project in Animate—it doesn’t affect your final exported project. Double-click the Layer icon to modify the level of transparency in the Layer Properties dialog box.


Inserting frames

So far, you have a background photo and another overlapping photo on the Stage, but your entire animation exists for only a single frame, which is only a fraction of a second. To create more time on the Timeline and make this animation run for a longer duration, you must add additional frames.

  1. Select frame 48 in the background layer. Use the Resize Timeline View slider at the bottom-right corner of the Timeline to expand the Timeline frames to make it easier to identify frame 48.

    Image
  2. Choose Insert > Timeline > Frame (F5). You can also right-click and choose Insert Frame from the context menu that pops up.

    Animate adds frames in the background layer up to the selected frame, frame 48.

    Image
  3. Select frame 48 in the photo1 layer.

  4. Choose Insert > Timeline > Frame (F5). You can also right-click and choose Insert Frame from the menu.

    Animate adds frames in the photo1 layer up to the selected frame, frame 48.

  5. Select frame 48 in the photo2 layer and insert frames on this layer.

You now have three layers, all with 48 frames on the Timeline. Since the frame rate of your Animate document is 24 frames per second, your current animation lasts 2 seconds.

Image

Creating a keyframe

A keyframe indicates a change in content on the Stage. Keyframes are indicated on the Timeline as a circle. An empty circle means there is nothing in that particular layer at that particular time. A filled-in black circle means there is something in that particular layer at that particular time. The background layer, for example, contains a filled keyframe (black circle) in the first frame. The photo1 layer also contains a filled keyframe in its first frame. Both layers contain photos. The photo2 layer, however, contains an empty keyframe in the first frame, indicating that it is currently empty.

Image

You’ll insert a keyframe in the photo2 layer at the point in time when you want the next photo to appear.

  1. Select frame 24 on the photo2 layer. As you select a frame, Animate displays the frame number beneath the Timeline.

    Image
  2. Choose Insert > Timeline > Keyframe (F6).

    A new keyframe, indicated by an empty circle, appears in the photo2 layer in frame 24.

    Image
  3. Select the new keyframe at frame 24 in the photo2 layer.

  4. Drag photo2.jpg from your library onto the Stage.

    The empty circle at frame 24 becomes filled, indicating that there is now content in the photo2 layer. At frame 24, your photo appears on the Stage. You can drag the red playhead from the top of the Timeline to “scrub,” or show what’s happening on the Stage, at any point along the Timeline. You’ll see that the background photo and photo1 remain on the Stage throughout the Timeline, but photo2 appears only at frame 24.

Image

Understanding frames and keyframes is essential for mastering Animate. Be sure you understand how the photo2 layer contains 48 frames with two keyframes—an empty keyframe at frame 1 and a filled keyframe at frame 24.

Image

Moving a keyframe

If you want photo2.jpg to appear later or earlier in time, you need to move the keyframe in which it appears closer to or farther from the right on the Timeline. You can easily move any keyframe along the Timeline by simply selecting it and then dragging it to a new position.

  1. Select the keyframe in frame 24 on the photo2 layer.

  2. Move your mouse cursor slightly, and you’ll see a box icon appear near your cursor indicating that you can reposition the keyframe.

  3. Drag the keyframe to frame 12 in the photo2 layer.

    Image

    The photo2.jpg file now appears on the Stage much earlier in the animation.

    Image

Organizing Layers in a Timeline

At this point, your working Animate file has only three layers: a background layer, a photo1 layer, and a photo2 layer. You’ll be adding additional layers for this project, and as in most other projects, you’ll end up having to manage multiple layers. Layer folders help you group related layers to keep your Timeline organized and manageable, just like you make folders for related documents on your desktop. Although it may take some time to create the folders, you’ll save time later because you’ll know exactly where to look for a specific layer.

Creating layer folders

For this project, you’ll continue to add layers for additional photos, and you’ll place those layers in a layer folder.

  1. Select the photo2 layer and click the New Layer button at the bottom of the Timeline.

  2. Name the layer photo3.

  3. Insert a keyframe at frame 24.

  4. Drag photo3.jpg from the library onto the Stage.

    You now have four layers. The top three contain photos of scenes from Coney Island that appear at different keyframes.

    Image
  5. Select the photo3 layer and click the New Folder icon at the bottom of the Timeline (Image).

    A new layer folder appears above the photo3 layer.

  6. Name the folder photos.

    Image

Adding layers to layer folders

Now you’ll add the photo layers to the photos folder. As you arrange layers, remember that Animate displays the content in the layers in the order in which they appear in the Timeline, with the top layer’s content at the front and the bottom layer’s content at the back.

  1. Drag the photo1 layer into the photos folder.

    Notice how the bold line indicates the destination of your layer. When you place a layer inside a folder, Animate indents the layer name.

    Image
  2. Drag the photo2 layer into the photos folder.

  3. Drag the photo3 layer into the photos folder.

    All three photo layers should be in the photos folder, in the same stacking order as they were outside the folder.

    Image

You can collapse the folder by clicking the arrow just to the left of the folder name. Expand the folder by clicking the arrow again. Be aware that if you delete a layer folder, you delete all the layers inside that folder as well.

Using the Properties Panel

The Properties panel gives you quick access to the attributes you’re most likely to need. What appears in the Properties panel depends on what you’ve selected. For example, if nothing is selected, the Properties panel includes options for the general Animate document, including changing the Stage color or dimensions. If you’ve selected an object on the Stage, the Properties panel shows its x and y coordinates and its width and height, among other information. You’ll use the Properties panel to move your photos on the Stage.

Positioning an object on the Stage

You’ll begin by moving the photos with the Properties panel. You’ll also use the Transform panel to rotate the photos.


Image Tip

If the Properties panel is not open, choose Window > Properties, or press Ctrl+F3 (Windows) or Command+F3 (Mac).


  1. At frame 1 of the Timeline, select the photo1.jpg image that you dragged onto the Stage in the photo1 layer. A blue outline indicates that the object is selected.

  2. In the Properties panel, type 50 for the X value and 50 for the Y value. Press Enter (Windows)/Return (Mac) to apply the values. You can also drag over the X and Y values to change their values. The photo moves to the left side of the Stage.

    Image

    The X and Y values are measured on the Stage from the top-left corner. X begins at 0 and increases to the right, and Y begins at 0 and increases downward. The registration point (the point from which Animate makes measurements) for imported photos is at the top-left corner.

  3. Choose Window > Transform to open the Transform panel.

  4. In the Transform panel, select Rotate, and type -12 in the Rotate box, or drag over the value to change the rotation. Press Enter (Windows)/Return (Mac) to apply the value.

    The selected photo on the Stage rotates 12 degrees counterclockwise.

    Image
  5. Select frame 12 of the photo2 layer. Now click photo2.jpg on the Stage to select it.

  6. Use the Properties panel and Transform panel to position and rotate the second photo in an interesting way. Use X=200, Y=40, and a Rotate of 6 to give it some contrast with the first photo.

    Image
  7. Select frame 24 in the photo3 layer. Now click photo3.jpg on the Stage to select it.

  8. Use the Properties panel and Transform panel to position and rotate the third photo in an interesting way. Use X=360, Y=65, and a Rotate of -2 so that all your photos have visual variety.

    Image

Image Note

When images are scaled or rotated in Animate, they may appear jagged. You can smooth each image by double-clicking the bitmap icon in the Library panel. In the Bitmap Properties dialog box that appears, select the Allow Smoothing option.

Using the Tools Panel

The Tools panel—the long, narrow panel on the far right side of the work area—contains selection tools, drawing and type tools, painting and editing tools, navigation tools, and tool options. You’ll use the Tools panel frequently to switch to tools designed for the task at hand. Most often, you’ll use the Selection tool, which is the black arrow tool at the top of the Tools panel, for selecting and clicking items on the Stage or the Timeline. When you select a tool, check the options area at the bottom of the panel for more options and other settings appropriate for your task.

Selecting and using a tool

When you select a tool, the options available at the bottom of the Tools panel and the Properties panel change. For example, when you select the Rectangle tool, the Object Drawing Mode and Snap To Objects options appear. When you select the Zoom tool, the Enlarge and Reduce options appear.

Image

The Tools panel contains too many tools to display all at once. Some tools are arranged in hidden groups in the Tools panel; only the tool you last selected from a group is displayed. A small triangle in the lower-right corner of the tool’s button indicates that there are other tools in the group. Click and hold the icon for the visible tool to see the other tools available, and then select one from the menu.

You’ll use the PolyStar tool to add a little decoration to your short animation.

  1. Select the folder in the Timeline, and then click the New Layer button.

  2. Name the new layer stars.

  3. Lock the other layers below it so you don’t accidentally move anything into them.

  4. In the Timeline, move the playhead to frame 36 and select frame 36 in the stars layer.

  5. Choose Insert > Timeline > Keyframe (F6) to insert a new keyframe at frame 36 in the stars layer.

    Image

    Image Note

    If you’re working with a smaller dfig01_043a.jpgisplay, the bottom of the Tools panel may be cut off. That makes some of the tools and buttons invisible. But there’s an easy way to fix the problem: drag the left edge of the Tools panel to widen it so it can show multiple columns of tools.


    Image

    You will create star shapes to appear at frame 36 in this layer.

  6. In the Tools panel, select the PolyStar tool, which is indicated by the hexagon shape.

    Image
  7. In the Properties panel, click the colored square next to the pencil icon, which indicates the color of the outline, or stroke, and choose the red diagonal line.

    Image

    The red diagonal line represents a color of None for the stroke.

  8. Click the colored square next to the paint bucket icon, which indicates the color of the fill, and choose a bright, cheery color such as yellow. You can click the color wheel at the upper right to access the Adobe Color Picker, or you can change the Alpha percentage, which determines the level of transparency, at the upper right.

    Image
  9. In the Properties panel, click the Options buttons under Tool Settings.

    The Tool Settings dialog box appears.

  10. For Style, choose star. For Number Of Sides, enter 5, and for Star Point Size, enter 0.5. Click OK.

    Image

    The options determine the shape of your star.

  11. Make sure the empty keyframe in frame 36 of the title layer is selected. Click on the Stage where you want to begin adding a star, and drag to change the width of your star. Move your cursor around the first click to rotate the star. Make multiple stars of different sizes and with different angles of rotation.

    Image
  12. Exit the PolyStar tool by selecting the Selection tool.

  13. Use the Properties panel or the Transform panel to reposition or rotate your stars on the Stage, if desired. Or choose the Selection tool and simply click to select a star and drag it to a new position on the Stage. The X and Y values in the Properties panel update as you drag the star around the Stage.

  14. Your animation for this lesson is finished! Compare the Timeline in your file with the Timeline in the final file, 01End.fla.

Undoing Steps in Animate

In a perfect world, everything would go according to plan. But sometimes you need to move back a step or two and start over. You can undo steps in Animate using the Undo command or the History panel.

To undo a single step in Animate, choose Edit > Undo or press Ctrl+Z (Windows)/Command+Z (Mac). To redo a step you’ve undone, choose Edit > Redo.

The easiest way to undo multiple steps in Animate is to use the History panel, which displays a list of the last 100 steps you’ve performed. Closing a document clears its history. To access the History panel, choose Window > History.

For example, if you aren’t satisfied with the newly added stars, you can undo your work and return your Animate document to a previous state.


Image Note

If you remove steps in the History panel and then perform additional steps, the removed steps will no longer be available.


  1. Choose Edit > Undo to undo the last action you made. You can choose the Undo command multiple times to move backward as many steps as are listed in the History panel. You can change the maximum number of Undo commands by selecting Animate > Preferences.

    Image
  2. Choose Window > History to open the History panel.

  3. Drag the History panel slider up to the step just before your mistake. Steps below that point are dimmed in the History panel and are removed from the project. To add a step back, move the slider back down.

    Image

Previewing Your Movie

As you work on a project, it’s a good idea to preview it frequently to ensure that you’re achieving the desired effect. To quickly see your animation, choose Control > Play, or simply press the Enter/Return key.

To see how an animation or movie will appear to a viewer in its runtime environment, choose Control > Test Movie > In Browser. You can also press Ctrl+Enter (Windows) or Command+Return (Mac) to preview your movie.

  1. Choose Control > Test.

    Animate creates the required published files in the same location as your FLA file and opens and plays the animation in your default browser.

    Image

    Animate automatically loops your movie in this preview mode.

    If you don’t want the animation to loop when you test your movie, in Animate choose File > Publish Settings, and deselect the Loop Timeline option.

    Image
  2. Close the browser window and return to Animate.

Modifying the Content and Stage

When you first started this lesson, you created a new file with the Stage set at 800 pixels by 600 pixels. However, your client may later tell you that they want the animation in several different sizes to accommodate different layouts. For example, they’d like to create a smaller version with a different aspect ratio for a banner ad. Or they may want to create a version that will run on AIR for Android devices, which has specific dimensions.

Fortunately, you can modify the Stage even after all your content is put in place. When you change the Stage dimensions, Animate provides the option of scaling the content with the Stage, automatically shrinking or enlarging all your content proportionally.

Stage resizing and content scaling

You’ll create another version of this animated project with different Stage dimensions. Choose File > Save to save the work you’ve done so far.

  1. At the bottom of the Properties panel, note that the dimensions of the current Stage are set at 800 x 600 pixels. Click the Advanced Settings button in the Properties section.

    Image

    The Document Settings dialog box appears.

  2. In the Width and Height boxes, enter new pixel dimensions. Enter 400 for the Width and 300 for the Height.

    You can click the link icon between the Width and Height fields to constrain the proportions of the Stage. With the link icon selected, changing one dimension will automatically change the other proportionately.

  3. Select the Scale Content option.

    Image
  4. Leave the Anchor option as is.

    The Anchor option lets you choose the origin from which your content is resized, if the proportions of the new Stage are different.

  5. Click OK.

    Animate modifies the dimensions of the Stage and automatically resizes all the content. If your new dimensions are not proportional to the original size, Animate will resize everything to maximize the content to fit. This means that if your new Stage size is wider than the original, there’ll be extra Stage space to the right. If your new Stage size is taller than the original, there’ll be extra Stage space on the bottom.

  6. Choose File > Save As.

  7. In the Save dialog box choose Animate Document (*.fla) from the File Format menu, and name the file 01_workingcopy_resized.fla.

    You now have two Animate files, identical in content but with different Stage dimensions. Close this file and reopen 01_workingcopy.fla to continue this lesson.

Saving Your Movie

A mantra in multimedia production is “Save early, save often.” Applications, operating systems, and hardware crash more often than anyone wants, and at unexpected and inconvenient times. You should always save your movie at regular intervals to ensure that, if a crash does happen, you won’t have lost too much of your time.

Animate can help alleviate much of the worry over lost work. The Auto-Recovery feature creates a backup file in case of a crash.


Image Note

If you have unsaved changes in your open document, Animate adds an asterisk to the end of its filename at the top of the document window as a friendly reminder.


Using Auto-Recovery for a backup

The Auto-Recovery feature is a preference set for the Animate application for all documents.

The Auto-Recovery feature saves a backup file, so in case of a crash, you have an alternate file to return to.

  1. Choose Edit > Preferences (Windows) or Animate CC > Preferences (Mac).

    The Preferences dialog box appears.

  2. Choose the General category from the left column.

  3. Select the Auto-Recovery option, if it’s not already selected, and enter a time (in minutes) for the interval at which Animate creates a backup file.

    Image
  4. Click OK.

    If you make changes to your file but do not save it within the Auto-Recovery interval, Animate creates a new file in the same location as your FLA with RECOVER_ added to the beginning of the filename. The file remains as long as the document is open. When you close the document or when you quit Animate safely, the file is deleted.


    Image Note

    To find out how to keep your copy of Animate CC up to date and to learn about the many sources of help available to you within Animate, see the “Getting Started” section at the beginning of this book.


Review Questions

1 What is the Stage?

2 What’s the difference between a frame and a keyframe?

3 What’s a hidden tool, and how can you access it?

4 Name two methods to undo steps in Animate and describe them.

5 What document type would be best for playing back animation in a modern browser?

Review Answers

1 The Stage is the rectangular area viewers see when a movie is playing. It contains the text, images, and video that appear on the screen. Objects that you store on the pasteboard outside of the Stage do not appear in the movie.

2 A frame is used to measure time on the Timeline. A keyframe is represented on the Timeline with a circle and indicates a change in content on the Stage.

3 Because there are too many tools to display at once in the Tools panel, some tools are grouped, and only one tool in the group is displayed. (The tool you most recently used is the one shown.) Small triangles appear on tool icons to indicate that hidden tools are available. To select a hidden tool, click and hold the tool icon for the tool that is shown, and then select the hidden tool from the menu.

4 You can undo steps in Animate using the Undo command or the History panel. To undo a single step at a time, choose Edit > Undo. To undo multiple steps at once, drag the slider up in the History panel.

5 An HTML5 Canvas document targets modern browsers for playback of animation and interactive content. HTML5 Canvas exports HTML, JavaScript, and all the assets required to play in a browser without requiring the Flash Player.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.21.108