Control MovieClips and Use Filters

Button Actions

Let's get this thing moving now! First, add an Actions layer:

Now, bring up the Actions dialogue box (F9 is the keyboard shortcut). We are adding Frame actions now, so the dialogue box should say Actions - Frame (not Actions - Button, or anything else). Now add some actions:

  1. Find ActionScript 2.0 Classes > Movie > Button > Event Handlers > onRelease
  2. Type bNose in the Object box

Now declare the action you want Flash to run when the user releases the bNose button. We want the movieClip, mNose, to advance to the next frame:

  1. Find ActionScript 2.0 Classes > Movie > MovieClip > Methods > nextFrame
  2. Type mNose in the Object box

Pay very particular attention to the window Actions window... notice the nextFrame actions go inside the curly braces:

bNose.onRelease = function() {
mNose.nextFrame();
};

OK, test your movie now. You should be able to click on the nose button (bNose) and see the nose movieClip (mNose) advance through it's timeline:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player