Adobe
Products
Creative Suite
Photoshop Family
Acrobat Family
Flash Platform
Digital Marketing Suite
Digital Publishing Suite
More products
Solutions
Digital marketing solutions
Digital media solutions
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Store
Adobe Store for home and home office
Education Store for students, educators, and staff
Business Store for small and medium businesses
Other ways to buy
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections   Search  
Solutions Company
Help Learning
Sign in Welcome, My orders My Adobe
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Fireworks Developer Center /

Creating a Spinning Graphic

by Jim Babbage

Jim Babbage
  • newmediaservices.ca
  • communitymx.com

Created

31 May 2005

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
CSS Fireworks

Requirements

Prerequisite Knowledge

Basic familiarity with Fireworks MX 2004

User Level

Beginning

Required products

  • Fireworks (Download trial)

Tutorials and sample files

  • spinning_graphic_samples.zip (84 KB)

Note: This article first appeared on Community MX.

Macromedia Fireworks has a very nifty animation utility that will help you move, scale, or rotate a selected object or instance. But what if you want the 3-D impression of spinning, rather than rotating? You can get this "flipping over" effect through a bit of visual trickery and some reliance on how the eye and the brain register movement.

To clarify, you can think of the Fireworks rotation effect as a "rolling" effect like the wheel on a bicycle. This tutorial will show you how to make an object appear to "flip" in three dimensions. You're going to create a beveled rectangle for this project, but can be apply the same technique to a standard bitmap object too.

Let's get started. Open Fireworks and follow the steps below.

  1. Create a new document with a height and width of 200 pixels. Set the Canvas color to white.
  2. Create your rectangle by selecting the Vector Shape (Rectangle) tool, and drawing a rectangular shape on the canvas.
  3. For the Fill, use a pattern. Select the Jeans pattern.
Selecting the Jeans pattern
Figure 1. Selecting the Jeans pattern
  1. Using the Live Effects controls in the Property inspector to set an Inner Bevel. Leave the bevel settings at their defaults. You can always experiment with them later.
Applying an Inner Bevel Live Effect
Figure 2. Applying an Inner Bevel Live Effect
  1. Convert the rectangle to a Symbol by pressing F8. Select Graphic (not Animation) for the type of Symbol. Give the Symbol a name. While naming isn't too important for an exercise like this, it becomes very handy when you have several Symbols to pick from. Now on screen you have a copy, or Instance, of the symbol.
  2. Clone the instance by pressing Control/Command+Shift+D. Now you have two instances on the canvas, right on top of each other. You'll see in your Layers panel that you now have two objects.
Two instances of the symbol in the Layers panel
Figure 3. Two instances of the symbol in the Layers panel
  1. With the top instance still selected, go to Modify > Transform > Numeric Transform...
  2. Select Resize, and deselect the constrain proportions box. This is very important.
Setting the height attribute in the Numeric Transform dialog box
Figure 4. Setting the height attribute in the Numeric Transform dialog box
  1. Set your height to 5 pixels. Leave everything else as is and click OK.
  2. Your transformed Instance now looks like a sliver of the original shape.
  3. Select both instances by one of these methods:
    • Shift+Click with the Pointer tool on each of the two objects
    • Click and drag the cursor over both objects
    • Shift+Click the objects inside the Layer Panel
  4. Select Modify > Symbol > Tween Instances and select the Distribute to Frames option. Set the number of frames to 6. Click OK. This will give you 6 new frames, plus your starting object and your ending object for a total of 8 frames. Take a look at the Frame Panel. This is the first half of the rotation. Press the play button (at the bottom of the document window on the PC) to see the result. Cool, huh? In reality, you've just squished (that's a hi-tech Fireworks term by the way) the object almost flat. But your eyes and brain will see this differently.
Distributing to frames
Figure 5. Distributing to frames

Completing the Spin

  1. Now you need to complete the spin. Select Frames 2 through 7 in the Frames Panel.Do this by first clicking on Frame 2. Then move your cursor to Frame 7, and Shift-click. All the intermediate frames are now selected.
Selecting the second through seventh frames
Figure 6. Selecting the second through seventh frames
  1. Click on the Frame Panel Options, and choose Duplicate Frames. Those 6 selected frames are added again to the end of your animation. If you run your animation right now, it won't look so hot; the new frames make the rectangle appear to snap back to its tallest size and then start squishing again.
Duplicating the second through seventh frames
Figure 7. Duplicating the second through seventh frames
  1. You now need to reverse the order of these duplicated frames. Select Commands > Documents > Reverse Frames. This command will allow you to pick a sequence of frames and reverse the order in which they play.
Reversing the order of the frames
Figure 8. Reversing the order of the frames
  1. Select Frame 9 in the Starting Frame pop-up menu, and Frame 14 in the Ending Frame list. Click OK.
  2. Play your animation again. You should see that now the spin is complete.

Some Final Steps

  1. Trim the canvas so that you only have the necessary space for the graphic, by selecting Modify > Canvas > Trim Canvas.
  2. Choose Animated GIF as the File format in the Optimize Panel.
  3. Preview the image in 2-Up or 4-Up view
  4. Remove as many colors as possible while still maintaining acceptable quality. This will help keep the file size down.
  5. Export as an Animated GIF.

If you are working with my sample PNG, here is what the final result looks like, optimized as a 16-color GIF image.

The resulting spinning graphic
Figure 9. The resulting spinning graphic

More Like This

  • Prebuilt CSS templates in Fireworks
  • Exporting CSS with Fireworks CS4

Tutorials & Samples

Tutorials

  • Creating and exporting Fireworks graphics as FXG files for Flash Catalyst
  • Creating jQuery Mobile website themes in Fireworks
  • Extracting CSS properties from Fireworks design objects

Samples

  • Twitter Trends
  • Flex 4.5 reference applications
  • Mobile Trader Flex app on Android Market

Fireworks Forum

More
02/07/2012 Dumb question - rectangles with straight right angled corners
12/16/2008 Disappearing Mouse Cursor?
01/13/2012 Survey: Blend mode options in Brush tool?
01/25/2012 after a update of cs3 to 9.0.1 styles are broken

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

Products

  • Creative Suite
  • Photoshop Family
  • Acrobat Family
  • Flash Platform
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Mobile apps

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • Adobe Store
  • For students and educators
  • For small and medium businesses
  • For enterprises
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • Pacific - English
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).

Ad Choices

Reviewed by TRUSTe: site privacy statement