FlxSprite.getAnimationByName function