This one might actually go somewhere :O

Right, I’m here for the third time, asking for help once again. See, I’ve been working really hard on a game recently, and as well as I’ve been doing, there’s been one major flaw in every attempt I make:

The main character never animates properly.

As it stands, he’ll walk from left to right without giving me trouble, and he’ll interact with NPCs, but he animates when he’s supposed to freeze and freezes when he’s supposed to animate.

I’ve attached the .swf so you can see what I mean, and the code he used to walk is just below.

onClipEvent (load) {
_root.hat = 1
_root.weapon = 1
stop();
}
onClipEvent (enterFrame) {
head.gotoAndStop (_root.hat) ;
arm.gotoAndStop(_root.weapon);
if (Key.isDown(Key.RIGHT)) {
_root.town._x-=3
_root.mibble._xscale = 100
// turns mibble around...
_root.notice.gotoAndStop (1);
_root.mibble.gotoAndPlay (2);
}
if (Key.isDown(Key.LEFT)) {
_root.town._x+=3
_root.mibble._xscale = -100
// turns mibble around...
_root.notice.gotoAndStop (1);
_root.mibble.gotoAndPlay (2);
}
}
on (keyPress "<Space>") {
if(_root.mibble.hitTest(_root.town.jeff)){
_root.notice.gotoAndStop (2);
}
if(_root.mibble.hitTest(_root.town.tash)){
_root.notice.gotoAndStop (8);
}
}

And the .swf: http://denvish.net/ulf/1160326574_mibble.php

If need be, I’ll post the .fla, but it doesn’t seem necessary for the moment.

Any help you can offer will be greatly appreciated.