Adobe Extending Flash Professional CS5 Manual de usuario Pagina 472

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 471
450
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
Usage
text.textRuns
Description
Read-only property; an array of TextRun objects (see TextRun object).
Example
The following example stores the value of the textRuns property in the myTextRuns variable:
var myTextRuns = fl.getDocumentDOM().selection[0].textRuns;
text.textType
Availability
Flash MX 2004.
Usage
text.textType
Description
Property; a string that specifies the type of text field. Acceptable values are "static", "dynamic", and "input".
Example
The following example sets the textType property to input:
fl.getDocumentDOM().selection[0].textType = "input";
text.useDeviceFonts
Availability
Flash MX 2004.
Usage
text.useDeviceFonts
Description
Property; a Boolean value. A value of true causes Flash to draw text using device fonts.
Example
The following example causes Flash to use device fonts when drawing text:
fl.getDocumentDOM().selection[0].useDeviceFonts = true;
Vista de pagina 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 564 565

Comentarios a estos manuales

Sin comentarios