 
 package mx.components
 {
-    
-import flash.events.Event;
-import flash.events.FocusEvent;
-import flash.events.KeyboardEvent;
-import flash.events.MouseEvent;
-import flash.events.TimerEvent;
-import flash.ui.Keyboard;
-import flash.utils.Timer;
 
-import mx.components.baseClasses.FxComponent;
+import mx.components.baseClasses.ButtonBase;
 import mx.core.IButton;
-import mx.events.FlexEvent;
-import mx.events.SandboxMouseEvent;
-import mx.graphics.baseClasses.TextGraphicElement;
-import mx.managers.IFocusManagerComponent;
-import mx.utils.StringUtil;
-
-include "../styles/metadata/BasicTextLayoutFormatStyles.as"
-
-/**
- *  @copy mx.components.baseClasses.GroupBase#focusColor
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */ 
-[Style(name="focusColor", type="uint", format="Color", inherit="yes")]
-
-/**
- *  Dispatched when the user presses the FxButton control.
- *  If the <code>autoRepeat</code> property is <code>true</code>,
- *  this event is dispatched repeatedly as long as the button stays down.
- *
- *  @eventType mx.events.FlexEvent.BUTTON_DOWN
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Event(name="buttonDown", type="mx.events.FlexEvent")]
-
-/**
- *  Number of milliseconds to wait after the first <code>buttonDown</code>
- *  event before repeating <code>buttonDown</code> events at each 
- *  <code>repeatInterval</code>.
- * 
- *  @default 500
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="repeatDelay", type="Number", format="Time", inherit="no")]
-
-/**
- *  Number of milliseconds between <code>buttonDown</code> events
- *  if the user presses and holds the mouse on a button.
- *  
- *  @default 35
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[Style(name="repeatInterval", type="Number", format="Time", inherit="no")]
-
-/**
- *  Up State of the Button
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[SkinState("up")]
-
-/**
- *  Over State of the Button
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[SkinState("over")]
-
-/**
- *  Down State of the Button
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[SkinState("down")]
-
-/**
- *  Disabled State of the Button
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 1.5
- *  @productversion Flex 4
- */
-[SkinState("disabled")]
  
 //--------------------------------------
 //  Other metadata
 //--------------------------------------
-
-[DefaultTriggerEvent("click")]
-
-[DefaultProperty("label")]
 
 [IconFile("FxButton.png")]
 

 *  @playerversion AIR 1.5
 *  @productversion Flex 4
 */
public class FxButton extends FxComponent implements IFocusManagerComponent, IButton
{
    include "../core/Version.as";


    public function FxButton()
    {
        super();
    }   

    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------

    //----------------------------------
    //  emphasized
