*note* any lines of code with // or /* at the beggining are just comments and do not affect the code, you can deleate these lines if you wish.
this is just a really easy way to make somthing move to the mouse when you click, right, so first make a movie clip (just a circle will do for now) this will be the main character, and add these actions (f9)
onClipEvent(enterFrame){
/* does the following actions at your movies framerate per second*/
if(this._x>_root.point._x){
_x-=5}
/* if_x posision of this MC is greater than the_x position of point,move left*/
if(this._x<_root.point._x){
_x+=5}
// same principles for the rest of the code
if(this._y>_root.point._y){
_y-=5}
if(this._y<_root.point._y){
_y+=5}}
now your wondering what point is, well its the point that the MC goes to when you click so create another movie clip (a smaller circle) give it the instace name of point and give it these actions
onClipEvent(mouseDown){
// everytime the mouse is pressed do the following actions
this._x=_root._xmouse;
// goto the x poision of the mouse
this._y=_root._ymouse}
// goto the y position of the mouse
now test your movie i dare you XD . you should have somthing like
this