Adobe Extending Flash Professional CS5 Manual de usuario Pagina 466

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 465
444
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
This property works only with input text; if used with other text types, the property generates a warning.
Example
The following example sets the value of the maxCharacters property to 30:
fl.getDocumentDOM().selection[0].maxCharacters = 30;
text.orientation
Availability
Flash MX 2004.
Usage
text.orientation
Description
Property; a string that specifies the orientation of the text field. Acceptable values are "horizontal", "vertical left
to right", and "vertical right to left".
This property works only with static text; it generates a warning if used with other text types.
Example
The following example sets the orientation property to vertical right to left:
fl.getDocumentDOM().selection[0].orientation = "vertical right to left";
text.renderAsHTML
Availability
Flash MX 2004.
Usage
text.renderAsHTML
Description
Property; a Boolean value. If the value is true, Flash draws the text as HTML and interprets embedded HTML tags.
This property works only with dynamic or input text; it generates a warning if used with other text types.
Example
The following example sets the renderAsHTML property to true:
fl.getDocumentDOM().selection[0].renderAsHTML = true;
Vista de pagina 465
1 2 ... 461 462 463 464 465 466 467 468 469 470 471 ... 564 565

Comentarios a estos manuales

Sin comentarios