 {
 import flash.display.DisplayObject;
 import flash.display.Graphics;
-    
+
 /**
  *  Actionscript based skin for toggle buttons. This class can not be used 
  *  by itself. You must subclass and specify a 

    }
    
    /**
     *  @private 
     */
    override protected function commitCurrentState():void
    {    
        super.commitCurrentState();
        
        // Check for selected or not selected
        if (currentState != null)
        {
            var currentStateIconClass:Class = upIconClass;
            var isSelected:Boolean = false;
            
            if (currentState == "down")
            {
                currentStateIconClass = downIconClass;
            }
            else if (currentState == "upAndSelected")
            {
                currentStateIconClass = upSelectedIconClass;
                isSelected = true;
            }
            else if (currentState == "downAndSelected")
            {
                currentStateIconClass = downSelectedIconClass;
                isSelected = true;
            }
            else if (currentState.indexOf("AndSelected") != -1)
            {
                currentStateIconClass = upSelectedIconClass;
                isSelected = true;
            }
            

    protected var downSelectedIconClass:Class;
    
    /**
     *  The Class used to create the symbol icon in all deselected states 
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */
    protected var upSymbolIconClass:Class;
    
    /**
     *  The Class used to create the selected symbol icon in all selected states 
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */
    protected var upSymbolIconSelectedClass:Class;
    
    /**
     *  The Class used to create the symbol icon in all deselected states 
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */
    protected var downSymbolIconClass:Class;
    
    /**
     *  The Class used to create the selected symbol icon in all selected states 
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */
    protected var downSymbolIconSelectedClass:Class;
    
    /**
     *  Optional symbol to display selection state 
