 
 import flex.core.Flags32;
 import flex.core.SkinnableComponent;
+import flex.graphics.TextBox;
 
 import mx.events.FlexEvent;
 import mx.managers.IFocusManagerComponent;

		// add event listeners to the button
		addHandlers();
	}	
	
	[Bindable("labelChanged")]
	public function set label(value:String):void
	{
		content = value;
		dispatchEvent(new Event("labelChanged"));
	}
	public function get label():String			
	{

	protected static const lastFlag:uint				= 1 << 5;

	protected var flags:Flags32 = new Flags32();
    
    //--------------------------------------------------------------------------
    //
    //  Overridden methods
    //
    //--------------------------------------------------------------------------
    
    override protected function partAdded(partName:String, instance:Object):void
    {
    	super.partAdded(partName, instance);
    	
    	if (instance == labelField)
    	{
    		labelField.text = label;
    	}
    }

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