bitmapItem summary

Inheritance Item object (../Item_object/item_summary.md) > BitmapItem object

#### Availability

Flash MX 2004.

#### Description

A BitmapItem object refers to a bitmap in the library of a document. The BitmapItem object is a subclass of the Item object (see Item object (../Item_object/item_summary.md)).

#### Property summary

In addition to the Item object (../Item_object/item_summary.md) properties, the BitmapItem object has following properties:

<table><thead><tr class="header"><th><strong>Property</strong></th><th><strong>Description</strong></th></tr></thead><tbody><tr class="odd"><td><a href="../BitmapItem_object/bitmapItem.md">bitmapItem.allowSmoothing</a></td><td>A Boolean value that specifies whether to allow smoothing of a bitmap.</td></tr><tr class="even"><td><a href="../BitmapItem_object/bitmapIte1.md">bitmapItem.compressionType</a></td><td>A string that determines the type of image compression applied to the bitmap.</td></tr><tr class="odd"><td><a href="../BitmapItem_object/bitmapIte3.md">bitmapItem.fileLastModifiedDate</a></td><td>The number of seconds that have elapsed between January 1, 1970 and the modification date of the original file.</td></tr><tr class="even"><td><a href="../BitmapItem_object/bitmapIte4.md">bitmapItem.hasValidAlphaLayer</a></td><td>A Boolean value indicating whether the bitmap has an alpha channel.</td></tr><tr class="odd"><td><a href="../BitmapItem_object/bitmapIte5.md">bitmapItem.hPixels</a></td><td>Specifies the width of the bitmap, in pixels.</td></tr><tr class="even"><td><a href="../BitmapItem_object/bitmapIte6.md">bitmapItem.lastModifiedDate</a></td><td>The modification date of the bitmap item in the Library.</td></tr><tr class="odd"><td><a href="../BitmapItem_object/bitmapIte7.md">bitmapItem.originalCompressionType</a></td><td>Specifies whether the item was imported as an jpeg file.</td></tr><tr class="even"><td><a href="../BitmapItem_object/bitmapIte9.md">bitmapItem.sourceFileExists</a></td><td>Specifies whether the file that was imported to the Library still exists in the location from where it was imported.</td></tr><tr class="odd"><td><a href="../BitmapItem_object/bitmapIt10.md">bitmapItem.sourceFileIsCurrent</a></td><td>Specifies whether the file modification date of the Library item is the same as the modification date on disk of the file that was imported.</td></tr><tr class="even"><td><a href="../BitmapItem_object/bitmapIte11.md">bitmapItem.sourceFilePath</a></td><td>The path and name of the file that was imported into the Library.</td></tr><tr class="odd"><td><a href="../BitmapItem_object/bitmapIte12.md">bitmapItem.useDeblocking</a></td><td><p>Specifies whether deblocking is enabled.</p></td></tr><tr class="even"><td><a href="../BitmapItem_object/bitmapIte13.md">bitmapItem.useImportedJPEGQuality</a></td><td>A Boolean value that specifies whether to use the default imported JPEG quality.</td></tr><tr class="odd"><td><a href="../BitmapItem_object/bitmapIte14.md">bitmapItem.vPixels</a></td><td>Specifies the height of the bitmap, in pixels.</td></tr></tbody></table>

#### Method summary

In addition to the Item object (../Item_object/item_summary.md) properties, the BitmapItem object has following methods:

| Method | Description |
|-------------------------------------------|--------------------------------------------------|
| bitmapItem.exportToFile() (../BitmapItem_object/bitmapIte2.md) | Exports the specified item to a PNG or JPG file. |

<span id="bitmapItem.allowSmoothing" class="anchor"></span>