         
     }
     
+    //----------------------------------
+    //  layout
+    //----------------------------------    
+    
+    /**
+     *  @private
+     */
+    override public function set layout(value:LayoutBase):void
+    {
+        throw(new Error(resourceManager.getString("components", "layoutReadOnly")));
+    }
+    
     //--------------------------------------------------------------------------
     //
     //  Methods

{

import mx.events.PropertyChangeEvent;
import spark.components.Group;
import spark.components.ResizeMode;

//--------------------------------------
//  Events

    public function Graphic()
    {
        super();
        super.layout = new BasicLayout();

		// The default resize mode for a Graphic is scale
		resizeMode = ResizeMode.SCALE;
    }
