First in the Flash edit state Press Ctrl+f8 to create a MC,MC content can be dynamic or static, it determines the style of your mouse pointer. Note: The center of the image is directed at the center of the MC scene (where the cross symbol is centered) because the computer takes the _x of the MC, the _y horizontal ordinate value is the coordinate of reading the Cross Center.
Return to the main scene, drag and drop the MC into the workspace. Note: It is best to drag and drop it directly outside the scene frame, otherwise the MC will appear in the scene at the beginning.
Anti-click the MC in the work area, add the action to the MC as follows:
Onclipevent (load) {
Mouse.hide ();
}
Onclipevent (MouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
Updateafterevent ();
}
Statement Explanation:
Mouse.hide to hide the mouse
_x = _root._xmouse; _y = _root._ymo use; To assign the mouse coordinates to the MC's coordinate variable updateafterevent (); its function is lets the MC can move smoothly, does not have the beating phenomenon.
Note: Please create a new layer at the top, in the area of the floor of the border with a black shaded box (oneself with four pieces of black rectangular block together), because your mouse moved outside the film, the MC will be near the border there are some remnants, we can do this to cover it. As shown in figure:
OK, test or export the movie to enjoy your creative mouse style!