tänään myös multimediaa
speed = 10;
car.onEnterFrame = function() {
with (car) {
if Key.isDown(Key.RIGHT)) {
_x = speed;
if (_x >= 550) {
_x = 550;
}
_root.display = "Right";
}
} else if (Key.isDown(Key.LEFT)) {
_x -= speed;
if (_x < 60) {
_x = 60;
}
_root.display = "Left";