      *  <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 BitmapGraphic class is designed to work with embedded images, not with images that are 
+     *  <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 BitmapGraphic's <code>source</code> property.</p>
+     *  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

import flash.geom.Rectangle;
import flash.utils.getDefinitionByName;

import mx.graphics.baseClasses.GraphicElement;

/**
 *  A BitmapGraphic element defines a rectangular region in its parent element's 
 *  coordinate space, filled with bitmap data drawn from a source file.
 *  
 *  @includeExample examples/BitmapGraphicExample.mxml
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10
 *  @playerversion AIR 1.5
 *  @productversion Flex 4
 */
public class BitmapGraphic extends GraphicElement
{
    include "../core/Version.as";


    /**
     *  The resizeMode determines how the bitmap fills in the dimensions. If you set the value
     *  of this property in a tag, use the string (such as "Repeat"). If you set the value of 
     *  this property in ActionScript, use the constant (such as <code>BitmapImageResizeMode.NORMAL</code>).
     * 
     *  When set to <code>BitmapImageResizeMode.NORMAL</code> ("Normal"), the bitmap
     *  ends at the edge of the region.
     * 
     *  When set to <code>BitmapImageResizeMode.REPEAT</code> ("Repeat"), the bitmap 
     *  repeats to fill the region.
     *
     *  When set to <code>BitmapImageResizeMode.SCALE</code> ("Scale"), the bitmap
     *  stretches to fill the region.
     * 
     *  @default <code>BitmapImageResizeMode.NORMAL</code>
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
