Adobe Extending Flash Professional CS4 Manual do Utilizador Página 472

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 471
450
EXTENDING FLASH CS4 PROFESSIONAL
Text object
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.
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";
Vista de página 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 559 560

Comentários a estes Manuais

Sem comentários