AdamAtomic/flixel — Issue #216: Animation looping problem
Author: camasthecat
Created: 2011-12-23 22:14:50+00:00
State: open

FlxSprite's looping Boolean is currently doing nothing because this:

if(!Force && (_curAnim != null) && (AnimName == _curAnim.name) && (_curAnim.looped || !finished)) return;

Should be this:

if(!Force && (_curAnim != null) && (AnimName == _curAnim.name) && (!_curAnim.looped || !finished)) return;

With this fix a non-looping animation will actually not loop. :)