Flash 4 - Mouse Chaser

Adobe Flash CS3 Professional
Flash CS3 introduces many new and exciting features and delivers an entirely new experience in Flash dev.
Adobe Flash CS3
Adobe Creative Suite 3
Streamline your web dev with a collection of Adobe software including the new Flash CS3 Pro.
Adobe Creative Suite 3
Step 1

First thing you need to do is create a new graphic symbol. (Insert > New Symbol > Graphic).

Step 2

Next you need to make a new Movie Clip as well. (Insert > New Symbol > Movie Clip). Name it Chaser. Open your Library (Ctrl + L), and drag the symbol you made in the beginning into the MC. Up in the Timeline, bring up the Action properties of Frame 1 and select the Drag Movie Clip Action. Check the radio button for Start drag operation. In the Target box type /chaser. Next check the box next to Lock mouse to center.

Step 3

Now go back to your main stage, and from your library drag your MC (Chaser) onto the stage. Double-click it and give it an Instance Name of Chaser

Step 4

Test your movie. (Ctrl + Enter). The symbol should move anywhere your cursor goes.