Adobe Extending Flash Professional CS5 Manuale Utente Pagina 471

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 470
449
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
text.silent
Availability
Flash MX 2004.
Usage
text.silent
Description
Property; a Boolean value that specifies whether the object is accessible. This is equivalent to the inverse logic of the
Make Object Accessible setting in the Accessibility panel. That is, if
silent is true, Make Object Accessible is
deselected. If it is
false, Make Object Accessible is selected.
Example
The following example determines if the object is accessible (a value of false means that it is accessible):
var isSilent = fl.getDocumentDOM().selection[0].silent;
The following example sets the object to be accessible:
fl.getDocumentDOM().selection[0].silent = false;
text.tabIndex
Availability
Flash MX 2004.
Usage
text.tabIndex
Description
Property; an integer that is equivalent to the Tab Index field in the Accessibility panel. This value lets you determine
the order in which objects are accessed when the user presses the Tab key.
Example
The following example gets the tabIndex of the currently selected object:
var theTabIndex = fl.getDocumentDOM().selection[0].tabIndex;
The following example sets the tabIndex of the currently selected object:
fl.getDocumentDOM().selection[0].tabIndex = 1;
text.textRuns
Availability
Flash MX 2004.
Vedere la pagina 470
1 2 ... 466 467 468 469 470 471 472 473 474 475 476 ... 564 565

Commenti su questo manuale

Nessun commento