1. Home
  2. Computing & Technology
  3. Animation

Flash Animation 19: Drag and Drop ActionScripting Commands

By , About.com Guide

2 of 5

Setting up the on (press) Event

To start off with, we're going to return to a familiar command: the on command, to set up the event that will begin the mouse-dragging action. For a refresher, you can find this command by expanding Actions->Movie Control in the left-hand hierarchy of the Actions pane, and then double-clicking on on to add it.

For this instance, we want the event to occur when the mouse button is pressed, so in the options we'll click on Press.

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. Flash Animation 19: Drag and Drop ActionScripting Commands

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

All rights reserved.