First off, use this code when you want to make the bullets appear.
for(l=0;l<360;l+=20){
newName = "bullet" + l
_root.attachMovie("bullet",newName,_root .getNextHighestDepth())
this[newName]._rotation = l
this[newName]._y = 250
this[newName]._x = 250
}
Now make a movieclip that looks like a bullet. Make the direction of the bullet face up. Go in your library find your bullet, right click and select linkage. Check the checkbox labelled "Export for ActionScript". Name the Identifier "bullet". Then Click ok.
Go inside your bullet you just made and paste this code on the first frame. (You should only have one frame anyway :) )
speed = 3;
onEnterFrame = function () {
speedx = Math.sin(this._rotation*(Math.PI/180))*2 ;
speedy = Math.cos(this._rotation*(Math.PI/180))*2 *-1;
this._x += (speedx * speed);
this._y += (speedy * speed);
}
Test your game. I suggest you do this on a new flash document first