# Need help with AS (certain MC's not playing)

**URL:** <https://forum.kirupa.com/t/need-help-with-as-certain-mcs-not-playing/199190>\
**Category:** flash\
**Created:** [August 31, 2006, 5:18pm UTC](https://forum.kirupa.com/t/need-help-with-as-certain-mcs-not-playing/199190 "2006-08-31T17:18:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrneo240](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mrneo240](https://forum.kirupa.com/u/mrneo240)\
**Post date:** [August 31, 2006, 5:18pm UTC](https://forum.kirupa.com/t/need-help-with-as-certain-mcs-not-playing/199190/1 "2006-08-31T17:18:38Z")

</div>

I have a slight problem.  
i have the actionscript

```auto
if (Key.isDown(Key.LEFT)) {
if (this._x<=57){} else {
_root.teststuff = "pos X-" + _root.ryu._x;
stance=0;
this.gotoAndStop("run");
this._xscale = -100;
this._x-=step;}
}

```

and when i do that it only plays the first frame of the movieclip  
the mc is split up into 6 frames each with its on movieclip in that for simple animations  
but my other code

```auto
if (Key.isDown (Key.DOWN))
        {this.gotoandstop("kick");
        if (_root.ryu.kicka.hit.hitTest(_root.enemy)) {
            _root.health -= crouchkick;}
        }

```

and that works

**UPDATED**  
it seems that i can only get 1 of 2 things to work

1. walking animation works and attack animations dont
2. walking animation doesnt work but still moves and attack animations work

if someone needs the actionscript or the whole \*.fla i can provide it
