      */ 
     protected function get keyboardPressed():Boolean
     {
-        return flags.isSet(keyboardPressedFlag);
+        return BitFlagUtil.isSet(flags, keyboardPressedFlag);
     }
     
     /**

import flash.ui.Keyboard;
import flash.utils.Timer;

import mx.utils.Flags32;
import mx.components.baseClasses.FxComponent;
import mx.graphics.graphicsClasses.TextGraphicElement;

import mx.events.FlexEvent;
import mx.managers.IFocusManagerComponent;

/**
 *  Dispatched when the user presses the FxButton control.

     */
    protected function set keyboardPressed(value:Boolean):void
    {
        if (BitFlagUtil.isSet(flags, keyboardPressedFlag) == value)
            return;
         
        flags = BitFlagUtil.update(flags, keyboardPressedFlag, value);
        
        invalidateButtonState();
    }
