Adobe Extending Flash Professional CS4 Manuale Utente Pagina 466

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 465
444
EXTENDING FLASH CS4 PROFESSIONAL
Text object
This property works only with dynamic or input text and generates a warning if used with static text. The "password"
value works only for input text.
Example
The following example sets the lineType property to the value multiline no wrap:
fl.getDocumentDOM().selection[0].lineType = "multiline no wrap";
text.maxCharacters
Availability
Flash MX 2004.
Usage
text.maxCharacters
Description
Property; an integer that specifies the maximum number of characters the user can enter in this Text object.
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";
Vedere la pagina 465
1 2 ... 461 462 463 464 465 466 467 468 469 470 471 ... 559 560

Commenti su questo manuale

Nessun commento