Heres my problem
I have a movieclip that will rotate by 10 right if the right button is pressed, or 10 left if the left button is pressed.
Now, some genius tell me why the right button code works perfectly, but when i press left it doesnt rotate. It moves left, but no rotation to be found
halp!
heres the code
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
xspeed -= power;
this._rotation = -10;
}
else {
this._rotation = 0;
}
if (Key.isDown(Key.RIGHT)) {
xspeed += power;
this._rotation = 10;
}
else {
this._rotation = 0;
}
cheers!