Chapter 20: fontitem object, Fontitem.bitmap – Adobe Extending Flash Professional CS5 User Manual
Page 301
279
Last updated 5/2/2011
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.
Specifies characters to embed.
Specifies items that can be selected in the Font Embedding dialog.
Specifies whether variant glyphs should be output in the font when publishing a SWF file.
The name of the device font associated with the Font item.
Specifies the format of the font that is output when publishing a SWF filem.
Specifies whether the Font item is italic.
The size of the Font item, in points.