| CODE |
| this.onEnterFrame = function () { var _loc = this.wheel_mc; dx = _xmouse - _loc1._x; dy = _ymouse - _loc1._y; nextRotation = Math.atan2(dy, dx) * 180 / 3.141593E+000; _loc._rotation = nextRotation; }; stop(); |
| CODE |
| onClipEvent (enterFrame) { if (Key.isDown(1)) { gotoAndStop (2); } } |
| CODE |
if( shoot right now ) { set_bullet's_direction_and_rotation_variables(); } move_bullet_according_to_it's_direction(); |
| QUOTE (chad1416 @ Jan 18 2008, 04:30 AM) |
| ok i got most of that, but now i got a new problem... linky and for reference, heres the .fla all the actions are on the third frame |
| QUOTE (Waterbottle @ Jan 17 2008, 11:45 PM) | ||
What's the problem? |