     //
     //--------------------------------------------------------------------------
     
+    private var _bitmapData:BitmapData;
+    
     private var _scaleGridBottom:Number;
     private var _scaleGridLeft:Number;
     private var _scaleGridRight:Number;

     *  <p>The image location can be a URL or file reference. If it is a file reference, its location is relative to
     *  the location of the file that is being compiled.</p>
     *  
     *  <p>The BitmapImage class is designed to work with embedded images, not with images that are 
     *  loaded at run time. You can use the Image control to load the image at run time,
     *  and then assign the Image control to the value of the BitmapImage's <code>source</code> property.</p>
     *  
     *  @see flash.display.Bitmap
     *  @see flash.display.BitmapData

                previousUnscaledHeight != unscaledHeight)
            {
                // Generate teh 16 points of the destination (scaled) grid
                var destScaleGridBottom:Number = unscaledHeight - (_bitmapData.height - _scaleGridBottom);
                var destScaleGridRight:Number = unscaledWidth - (_bitmapData.width - _scaleGridRight);      
                cachedDestGrid = [];
                cachedDestGrid.push([new Point(0, 0), new Point(_scaleGridLeft, 0), 
                                new Point(destScaleGridRight, 0), new Point(unscaledWidth, 0)]);
