Chapter 5: bitmapitem object – Adobe Extending Flash Professional CS5 User Manual
Page 57
35
Last updated 5/2/2011
Chapter 5: BitmapItem object
Inheritance
> 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
).
Property summary
In addition to the
properties, the BitmapItem object has following properties:
Method summary
In addition to the
properties, the BitmapItem object has following methods:
Property
Description
A Boolean value that specifies whether to allow smoothing
of a bitmap.
A string that determines the type of image compression
applied to the bitmap.
bitmapItem.fileLastModifiedDate
The number of seconds that have elapsed between
January 1, 1970 and the modification date of the original
file.
bitmapItem.originalCompressionType
Specifies whether the item was imported as an jpeg file.
Specifies whether the file that was imported to the Library
still exists in the location from where it was imported.
bitmapItem.sourceFileIsCurrent
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.
The path and name of the file that was imported into the
Library.
Specifies whether deblocking is enabled.
bitmapItem.useImportedJPEGQuality
A Boolean value that specifies whether to use the default
imported JPEG quality.
Method
Description
Exports the specified item to a PNG or JPG file.