onClipEvent (load)
{
speed = 10;
}
onClipEvent (enterFrame)
{ if (Key.isDown(key.RIGHT))
{
this.gotoAndStop(64);
this._x = this._x + speed;
}
if (Key.isDown(key.LEFT))
{
this.gotoAndStop(4);
this._x = this._x - speed;
}
if (Key.isDown(key.DOWN))
{
this.gotoAndStop(3);
}
if (Key.isDown(key.UP))
{
this.gotoAndStop(7);
}
if (Key.isDown(key.SPACE))
{ this.gotoAndStop(55);
} }
that it currently, i was fiddling around with the whole if (!Key.isDown(Key.LEFT) and !Key.isDown(Key.RIGHT) and !Key.isDow....etc....etc....
but that didnt work, weather i got it wrong or not im not sure. also i tried dealing with "else" functions although frustration got the better of me.