         } else {
             startFrame = (oldFrame + 1 < _numFrames ? oldFrame + 1 : 0);
             frameCount = (_frame - oldFrame);
-            if (wrapped) frameCount += _numFrames;
+            if (wrapped) {
+                frameCount += _numFrames;
+            }
         }
 
         // Fire signals. Stop if pendingFrame is updated, which indicates that the client

     */
    protected function updateFrame (newFrame :int, dt :Number) :void {
        if (newFrame < 0 || newFrame >= _numFrames) {
            throw new Error("Invalid frame [frame=" + newFrame,
                " validRange=0-" + (_numFrames - 1) + "]");
        }

        if (_isUpdatingFrame) {
            _pendingFrame = newFrame;
            return;
        } else {
            _pendingFrame = NO_FRAME;
            _isUpdatingFrame = true;
        }

        const isGoTo :Boolean = (dt <= 0);
        const wrapped :Boolean = (dt >= _duration) || (newFrame < _frame);

    /** @private */
    protected var _state :int = PLAYING;
    /** @private */
    protected var _playTime :Number = 0;
    /** @private */
    protected var _duration :Number;
    /** @private */
    protected var _layers :Vector.<Layer>;
    /** @private */
