 //--------------------------------------
 
 [Exclude(name="textAlign", kind="style")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[IconFile("ToggleSwitch.png")]
 
 /**
  *  The Spark ToggleSwitch component is a component that can flip between

        lastMouseX = event.stageX;
    }
    
    private function thinnedMouseDragHandler():void 
    {
        if (mouseCaptured && track && thumb) 
        {
            var deltaX:Number = (lastMouseX - stageOffset.x) / getGlobalTrackRange();
            // don't set mouseMoved unless the mouse position has changed
            if (!mouseMoved && Math.abs(deltaX) > MOUSE_MOVE_TOLERANCE) 
                mouseMoved = true;
            moveToPosition(positionOffset + deltaX);
        }
    }
    

    /**
     * The amount the mouse can move before we consider the event a drag and not a click
     */
    private static const MOUSE_MOVE_TOLERANCE:Number = 0.15;
    
    //----------------------------------------------------------------------------------------------
    //
