     /**
      *  Constructor.
      *
-     *  @param document In simple cases where a class extends EventDispatcher, 
+     *  @param document In simple cases where a class extends EventDispatcher,
      *  the <code>document</code> parameter should not be used.
      *
      *  @see flash.events.EventDispatcher

                dispatchEvent(new Event(Event.CHANGE));
        }
        else
        {       
            var n:int = numRadioButtons;
            for (var i:int = 0; i < n; i++)
            {

    {
        if (instance)
        {

            var foundInstance:Boolean = false;
            for (var i:int = 0; i < numRadioButtons; i++)
            {
                var rb:RadioButton = getRadioButtonAt(i);

                if (foundInstance)
                {
                    // Decrement the indexNumber for each button after the removed button.
