     /**
      *  Override so that we can return correct width when in scale mode. 
      */    
+   [PercentProxy("percentWidth")]
     override public function get width():Number
     {
         if (_resizeMode == ResizeMode._SCALE_UINT)

    /**
     *  Override so that we can return correct height when in scale mode. 
     */    
    override public function get height():Number
    {
        if (_resizeMode == ResizeMode._SCALE_UINT)

                    cacheAsBitmap = true;
                }
            }
        }        
    }

    override protected function measure():void
