parentSprite.getChildByName("walkMc").visible = true; parentSprite.getChildByName("stayMc").visible = false;