 import mx.core.IChildList;
 import mx.core.IRawChildrenContainer;
 import mx.core.ISWFBridgeProvider;
+import mx.core.IToggleButton;
 import mx.core.IUIComponent;
 import mx.core.mx_internal;
 import mx.core.SWFBridgeGroup;

            // handle default button here
            // we can't check for Button because of cross-versioning so
            // for now we just check for an emphasized property
            if (_lastFocus is IButton)
            {
                defButton = _lastFocus as IButton;
            }

                defButton.emphasized = false;
            
            _defaultButton = button;
            
            if (defButton != _lastFocus)
            {
                defButton = button;
            
                if (button)
                    button.emphasized = true;
            }
        }
    }

