Flash Bestiary / Oddments / Millard Fillmore Bobblehead |
|
Millard Fillmore BobbleheadThis bobblehead movie also uses my SpringSim class from the Physics section. If you want to provide simple bobbing motion, this is a good example, since very little code is needed to create it. The head movieclip is attached to a single invisible anchor, 100 pixels above it's pivot point. You may drag the head to move it. The code to set up a bobblehead looks like this:
#include "SpringSim.as"
|
|
|
|
Next: Karl Marx Paddleball |
Copyright © 2003,2004 by Jim Bumgardner. All Rights Reserved. Leave Jim some feedback