public void randomFrame() { _curAnim = null; _curIndex = (int) (FlxG.random() * (_pixels.Width / FrameWidth)); Dirty = true; }