Create a movieClip and give it the following actions:
Actionscript Code:
onClipEvent (load) {
_x = 0;
_y = 0;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x += (endX-_x);
_y += (endY-_y);
}
That should make your movieClip follow the cursor.
for the bullets you'll have to make an "invisible" movieClip and add the following actions to it:
Actionscript Code:
onClipEvent (enterFrame) {
if (Key.isDown(KEY.SPACE)) {
//code for the bullet
}
}
Good luck.