Chapter 20: fontitem object, Fontitem.bitmap, Fontitem object – Adobe Extending Flash Professional CS4 User Manual
Page 297

275
Chapter 20: fontItem object
Inheritance
> fontItem object
Availability
Flash MX 2004.
Description
The fontItem object is a subclass of the Item object (see
Property summary
In addition to the Item object properties, the following properties are available for the fontItem object:
fontItem.bitmap
Availability
Flash CS4 Professional.
Usage
fontItem.bitmap
Description
Property; a Boolean value that specifies whether the Font item is bitmapped (
true
) or not (
false
).
Example
Assuming that the first item in the Library is a Font item, the following code displays
true
in the Output panel if it is
bitmapped,
false
if it is not:
var theItem = fl.getDocumentDOM().library.items[0];
fl.trace("bitmap: "+ theItem.bitmap);
Property
Description
Specifies whether the Font item is bitmapped.
Specifies whether the Font item is bold.
The name of the device font associated with the Font item.
Specifies whether the Font item is italic.
The size of the Font item, in points.