Gunboat

:rambo: How do you make something rotate with a keypress?

make what you want to rotate a MC…
then drag the MC onto your movie…
then add the script below into the MCs actions…

if (Key.isDown(Key.LEFT)) {
_rotation -= 15;
}
if (Key.isDown(Key.RIGHT)) {
_rotation += 15;
}

that should do it…

[AS]
if (Key.isDown(Key.LEFT)) {
_rotation -= 15;
}
if (Key.isDown(Key.RIGHT)) {
_rotation += 15;
}

[/AS]

this might be easier to copy!!!