bitmapInstance summary

Inheritance Element object (../Element_object/element_summary.md) > Instance object (../Instance_object/instance_summary.md) > BitmapInstance object

#### Availability

Flash MX 2004.

#### Description

The BitmapInstance object is a subclass of the Instance object and represents a bitmap in a frame (see Instance object (../Instance_object/instance_summary.md)).

#### Method summary

In addition to the Instance object (../Instance_object/instance_summary.md) methods, you can use the following methods with the BitmapInstance object:

| Method | Description |
|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| bitmapInstance.getBits() (../BitmapInstance_object/bitmapInstance.md) | Lets you create bitmap effects by getting the bits out of the bitmap, manipulating them, and then returning them to Animate. |
| bitmapInstance.setBits() (../BitmapInstance_object/bitmapInstanc2.md) | Sets the bits of an existing bitmap element. |

#### Property summary

In addition to the Instance object (../Instance_object/instance_summary.md) properties, you can use the following properties with the BitmapInstance object:

| Property | Description |
|----------------------------------------|----------------------------------------------------------------------------|
| bitmapInstance.hPixels (../BitmapInstance_object/bitmapInstanc1.md) | Read-only; an integer that represents the width of the bitmap, in pixels. |
| bitmapInstance.vPixels (../BitmapInstance_object/bitmapInstanc3.md) | Read-only; an integer that represents the height of the bitmap, in pixels. |

<span id="bitmapInstance.getBits()" class="anchor"></span>