1. Home
  2. Computing & Technology
  3. Animation

Breaking Down the Screaming Maze Trick

By , About.com Guide

6 of 10

Now comes the fun part, where we get to tell Flash how to behave when the user’s mouse moves outside of the path. This is actually a lot easier than it sounds; to start with, select all of the fill areas remaining (hold down the Shift key while clicking if necessary to select it all at once, or just drag a bounding box over the entire area to select it all), and then convert it to a symbol (F8).

Then right-click on the symbol, select Actions, and insert another on command:

on (rollover) {
gotoAndPlay(3) ;
}

This time we’ve told it that when the mouse just rolls over—there’s no need for a click this time—anything inside that symbol’s fill area, the Flash movie is going to jump ahead to frame 3. Otherwise, it stays on frame 2 (as long as you stick to the path).

Explore Animation
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Breaking Down the Screaming Maze Trick

©2009 About.com, a part of The New York Times Company.

All rights reserved.