     
     
     //----------------------------------
-    //  contentWidth,Height
-    //----------------------------------    
-    
-    [Bindable] public var contentWidth:Number;
-    [Bindable] public var contentHeight:Number;
-	
+    //  contentWidth
+    //---------------------------------- 
+    
+    private var _contentWidth:Number = 0;
+    
+    [Bindable]
+    [Inspectable(category="General")]    
+
+    public function get contentWidth():Number 
+    {
+        return _contentWidth;
+    }
+    
+    private function set contentWidth(value:Number):void 
+    {
+        _contentWidth = value;
+    }
+
+    //----------------------------------
+    //  contentHeight
+    //---------------------------------- 
+    
+    private var _contentHeight:Number = 0;
+    
+    [Bindable]
+    [Inspectable(category="General")]    
+
+    public function get contentHeight():Number 
+    {
+        return _contentHeight;
+    }
+    
+    private function set contentHeight(value:Number):void 
+    {            
+        _contentHeight = value;
+    }    
+
+
+    public function setContentSize(w:Number, h:Number):void
+    {
+    	if ((w == _contentWidth) && (h == _contentHeight))
+    	   return;
+    	contentWidth = w;
+    	contentHeight = h;
+    }
 
     //--------------------------------------------------------------------------
     //

            _layout.measure();
    }
    
    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
        super.updateDisplayList(unscaledWidth, unscaledHeight);

                    element.validateDisplayList();
            }
        }
        
        updateScrollRect(unscaledWidth, unscaledHeight);
    }
    
    override public function addChild(child:DisplayObject):DisplayObject
