Adobe Extending Flash Professional CS5 Manuale Utente Pagina 301

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 300
279
Last updated 5/2/2011
Chapter 20: fontItem object
Inheritance Item object > fontItem object
Availability
Flash MX 2004.
Description
The fontItem object is a subclass of the Item object (see Item object).
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
fontItem.bitmap Specifies whether the Font item is bitmapped.
fontItem.bold Specifies whether the Font item is bold.
fontItem.embeddedCharacters Specifies characters to embed.
fontItem.embedRanges Specifies items that can be selected in the Font Embedding dialog.
fontItem.embedVariantGlyphs Specifies whether variant glyphs should be output in the font when publishing a SWF file.
fontItem.font The name of the device font associated with the Font item.
fontItem.isDefineFont4Symbol Specifies the format of the font that is output when publishing a SWF filem.
fontItem.italic Specifies whether the Font item is italic.
fontItem.size The size of the Font item, in points.
Vedere la pagina 300
1 2 ... 296 297 298 299 300 301 302 303 304 305 306 ... 564 565

Commenti su questo manuale

Nessun commento