23 February 2009
Prior animation experience is not necessary. However, this article assumes you have a basic understanding of working with Fireworks.
Beginning
This article demonstrates a typical Adobe Fireworks animation workflow by creating a 3D-like animated logo. It also highlights some of the innovative new features available in Fireworks CS4 and later and describes best practices for using them in animation projects.
Many Fireworks users are not aware of the built-in animation features available in Fireworks. Some of my Fireworks-savvy colleagues were surprised to hear that this 2D graphics application contains a powerful animation engine that simplifies the process of designing and exporting website and user interface animation elements. Working with animation in Fireworks has become even easier now, as Fireworks CS4 introduces new functionality that provides a wide range of possibilities to resourceful designers.
In this article I provide step-by-step instructions to make an animated rolling football—also known as a soccer ball in the United States (see Figure 1).

Note: Special thanks to Aaron Beall for improving an earlier version of this animation.
How is it possible to create 3D animation in a 2D graphics program? The real answer is, it isn't. But you can use Fireworks to create animations that appear to be three-dimensional by optical illusion. In this case, the football that appears to be rolling is merely the visible portion of a flat image perpetually looping through a segment of linear forward motion. The mechanics of the animation are demystified in Figure 2.

After you review Figure 2, you may already surmise what we are going to do. After assembling the flat football skin, turning it into a symbol, and animating it, we will create a mask to reveal a circular portion of the animated symbol while hiding the rest. Finally, we'll apply some effects over the mask to complete the 3D feel.
Let's begin by assembling the flat football skin object, which we will convert into an animated symbol in a minute:
Points: 6
Sides: 6
Outer radius: 51
Inner radius: 0
Rotation: 30
Leave the Split check box unchecked (see Figure 4).
Now that the base object is complete, we can convert it into an animated symbol:
Note: To arrive at these values, I used a new tool available in Fireworks CS4 called the Measure tool, found either in the Vector category of the Tools panel or in the Auto Shape Properties panel (the last button in the panel). This tool is usually used to measure the distance between any two points, but the shape of this tool lends itself nicely to the task of defining a perfectly diagonal motion path as well. The Measure tool is composed of two pointed arrows and two short lines perpendicular to the arrow on both ends. In this example, I positioned one of the end nodes so that the short lines were parallel to the upper right side of the polygon group. This caused the two pointed arrows to cut diagonally through the center of the animated symbol. Next, I dragged the motion path handle of the symbol until it perfectly overlapped the Measure tool (see Figure 10).
The next goal is to mask the animation so that only a circular shape shows through. The first step involves determining the best position for the mask so that the motion path goes straight across it:
Note: As you work on animation projects, you may find yourself frequently switching between the States panel and the Layers panel. In Fireworks CS4, you can save time by creating a custom workspace layout specifically for building animation elements. Drag and dock the States panel right next to the Layers panel, or wherever you find it most convenient, and save this new setup by selecting Window > Workspace Layouts > Save Current. Alternately, you can select the Save Current option from the pop-up menu located in the Control panel. Enter a descriptive name for your custom workspace so that you can choose your new animation-friendly layout when you need it, and switch back to the default workspace when you don't need it anymore (see Figure 13). Also read about the Workspace Manager panel in Fireworks CS4 to learn more.
Now we'll apply some Live Filters over the masked football to give it the illusion of a 3D object. Unlock and show the remaining white circle in the mask layer. Use the Property panel to set its blend mode to Multiply. Click the plus (+) sign next to the Live Filters section and choose Sharpen and Glow > Inner Glow. Applying the Inner Glow filter makes the football animation appear to have a 3D ball shape. Experiment with different settings, or use the values that I found to be most effective (see Figure 14).
To further enhance the 3D effect, Fireworks expert Aaron Beall recommends placing a semitransparent highlight over the animation. Use the Ellipse tool to draw a new circle above the white circle in the mask layer. Set the Width and Height to 62×56 in the Property panel. Set the stroke color to none and select Gradient > Radial from the fill category. Click the fill swatch and edit the gradient to set both gradient nodes to white (#FFFFFF) and decrease the opacity of the gradient's end node to zero. Set the circle's blend mode to Additive and set its overall opacity to 86. Use the Selection tool to place the image partially on the football to achieve the final effect (see Figure 15).
Now that the animation is complete, you can change the canvas color. Deselect all objects and use the Properties panel to set the canvas color to light gray (#CCCCCC). Also increase the canvas width to 700 pixels wide. There's a good reason for changing the canvas color, by the way. When we started building the assets, it was easier to manipulate the light-colored objects on a dark canvas, but now that the animation is complete, the football will appear more realistic with a lighter-colored canvas. (Note that the canvas gives the color of the gaps between the hexagons.)
To illustrate a real-world project, now add text to the completed animation to make it part of a larger composition:
To export the final animation (GIF) file:
This article has highlighted just a few of the many animation features available in Fireworks CS4 and later. Remember that you can use the new Measure tool to create a diagonal motion path, and that the States panel makes it easy to set important animated symbol qualities, such as motion paths and looping. You also learned how to combine masking and animation in a creative way. Finally, this example shows the value of adding Live Filters to create 3D effects.
Hopefully this article has sparked your interest to try new animation techniques. Take your projects to the next level by coming up with some innovative strategies to design and animate graphics. Don't be afraid to use the tools for unintended purposes and experiment with combining features in unusual ways.
To learn more, read about animation symbols in the Creating animations section of the Fireworks CS4 online documentation. Also check out the article Workspace Manager panel in Fireworks CS4 to learn more about managing custom workspace layouts. Finally be sure to visit the Fireworks Developer Center, where you'll find articles and sample projects to inspire you with creative, new ideas.
Fireworks Forum |
More |
Fireworks Cookbooks |
More |
| 09/07/2011 | How do I use FXG XML markup in Shape subclasses? |
|---|---|
| 10/15/2010 | Flex4 Dotted Line |
| 06/25/2010 | ComboBox that uses a NativeMenu (Air API) |
| 05/21/2010 | Localizing a Creative Suite 5 extension |