User Guide
BitmapInstance object 43
BitmapInstance object
Inheritance Element object > Instance object > BitmapInstance object
Availability
Flash MX 2004.
Description
The BitmapInstance object is a subclass of the Instance object and represents a bitmap in a frame.
Method summary for the BitmapInstance object
In addition to the Instance object methods, you can use the following methods with the
BitmapInstance object:
Property summary for the BitmapInstance object
In addition to the Instance object properties, you can use the following properties with the
BitmapInstance object.
TextRun object The TextRun object represents a run of characters that have
attributes that match all of the properties in the TextAttrs object.
Timeline object The Timeline object represents the Flash Timeline, which can be
accessed for the current document by
fl.getDocumentDOM().getTimeline().
ToolObj object A ToolObj object represents an individual tool in the Tools panel.
Tools object The Tools object is accessible from the Flash object (
fl.tools).
Vertex object The Vertex object is the part of the shape data structure that holds
the coordinate data.
VideoItem object The VideoItem object is a subclass of the Item object.
XMLUI object The XMLUI object provides the ability to get and set properties of an
XMLUI dialog box, and accept or cancel out of one.
Method Description
bitmapInstance.getBits() Method; lets you create bitmap effects by getting the bits out of the
bitmap, manipulating them, and then returning them to Flash.
bitmapInstance.setBits() Method; sets the bits of an existing bitmap element.
Property Description
bitmapInstance.hPixels Read-only; an integer that represents the width of the bitmap, in
pixels.
bitmapInstance.vPixels Read-only; an integer that represents the height of the bitmap, in
pixels.
Object Description