 import flash.events.MouseEvent;
 
 import mx.events.FlexEvent;
+import mx.utils.BitFlagUtil;
 
 /**
  *  Dispatched when the <code>selected</code> property 

     */    
    public function set selected(value:Boolean):void
    {
        if (!flags.update(selectedFlag, value))
            return;

        dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
        invalidateButtonState();

     */    
    public function get selected():Boolean
    {
        return BitFlagUtil.isSet(flags, selectedFlag);
    }
    
    /**
