April 12, 2003

Animating 3D Extrusions for Flash

New to FreeHand MX is the ability to create 3D Extrusions from flat art using the Extrude tool. This feature is pretty powerful, with the only limitation of not being able to extrude multiple objects in a group. With a little patience you can actually animate these extrusions to spin or move around. How you ask? Remember that "Release to Layers" command I've shown you in other tips? Here you'll see it again.

Version: MX

 
 

1) Above is the flat object I'll be animating as an extrusion. It's just a basic composite path made up of several circles and a rectangle.

 

2) So select the shape, and grab the Extrude tool. Click and extrude the shape out. Now this is entirely dependent on your needs for the extrusion details. The depth, and vanishing point are totally up to you at this point.

For my example, I'm using a thin depth of 50 and keeping the vanishing point centered and below the shape.

Also, you may want to keep the rotation set to 0 for all of the X Y Z values. This will make the next steps easier to deal with.

 

3) Now while the shape is still selected, Clone it.

Then in the Properties inspector panel, change one of the X Y or Z values to 10. This will rotate the object on one of the axis slightly. In my example, I changed the Y value as shown above.

 

4) Now repeat step 3 adding 10 to the value you changed. Clone, change value, clone, change value... etc.

The last step will be nearly identical to the first shape, only slightly rotated like shown in my example above.

The number of final shapes you have depends on the shape you are using and how much you change the value to. I ended up with 17 shapes. Now select all of the shapes and Group them together.

 

5) While the group is still selected, go to the Xtras menu > Animate > Release to Layers (or use the toolbar button). Here choose the Sequence option keeping everything set like shown above.

This will create new layers for all of the objects within that group.

 

6) Now Export the file as an SWF. In the Options, make sure that that it's set to Animate Layers, Autoplay and set the FPS to whatever you like.

Or you can simply test the movie before you export by going to the Window menu > Movie > Test to see how it looks.

If all worked, you should see an animation just like my example above.

So there you have it. That was pretty easy, wasn't it? Of course, you can change the amount you enter into the X Y Z areas to make the animation smoother for example. Like I mention before, you can't do extrudes of multiple object groups, but you can join more than one path together and extrude those.

If you have any more tips on the Extrude tool, let me know!