Now that you can drag movie clips around the screen, where do you drag them? Chances are that you want to monitor the user's actions and determine where the user placed the movie clip.
The hitTest function can be used to determine when the movie clip is overlapping with another movie clip. In the following script, we'll use the simpler startDrag command so that the dragging portion of the script is simple and we can concentrate on the new functionality.