 
 /**
  *  Dispatched when the <code>selected</code> property 
- *  changes for the ToggleButton control. 
+ *  changes for the FxToggleButton control. 
  * 
  *  This event is dispatched only when the 
  *  user interacts with the control by using the mouse.

     *  Constructor. 
     */    
    public function FxToggleButton()
	{
		super();
		
		addEventListener(MouseEvent.CLICK, clickHandler);
	}
    
    // -----------------------------------------------------------------------
    //

    //
    // -----------------------------------------------------------------------

    /**
     *  @private
     */    
    protected static const selectedFlag:uint = FxButton.lastFlag << 1;
    
    /**
     *  @private
     */    
    protected static const lastFlag:uint = selectedFlag;
    
    [Bindable]
    
    /**
     *  <code>true</code> if the button is in the down state, 
     *  and <code>false</code> if it is in the up state.
     */    
    public function get selected():Boolean
    {
        return flags.isSet(selectedFlag);
    }
    
    /**
     *  @private
     */    
    public function set selected(value:Boolean):void
    {
        if (!flags.update(selectedFlag, value))
            return;
