If you are using Flash MX:
To perform collision detection between a movie clip and a point on the Stage:
1 Select a movie clip on the Stage.
2 Create a dynamic text box on the Stage and enter status as the instance name in the Property inspector.
3 Choose Window > Actions to open the Actions panel if it is not already visible.
4 In the Actions toolbox, click the Actions category, click Variables, double-click set variable, and name the variable _root.status. Then select the Expression check box for Value and enter the following code in the Value text box:
hitTest(_root._xmouse, _root._ymouse, true)
Flash automatically adds the onClipEvent handler.
5 Highlight the onClipEvent action and select enterFrame as the event.
6 Choose Control > Test Movie and move the mouse over the movie clip to test the collision.
The value true is displayed whenever the mouse is over a nontransparent pixel.