optimized FlxAnimation's numFrames property