Adobe Extending Flash Professional CS4 Manuale Utente Pagina 542

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 541
520
EXTENDING FLASH CS4 PROFESSIONAL
XMLUI object
var nameArray = new Array("January", "February", "March");
var monthArray = new Array();
for (i=0;i<nameArray.length;i++){
elem = new Object();
elem.label = nameArray[i];
elem.value = i;
monthArray[i] = elem;
}
fl.xmlui.setControlItemElements("myControlID", monthArray);
See also
xmlui.getControlItemElement(), xmlui.set(), xmlui.setControlItemElement()
xmlui.setEnabled()
Availability
Flash 8.
Usage
xmlui.setEnabled(controlID, enable)
Parameters
controlID A string that specifies the ID attribute of the control you want to enable or disable.
enable A Boolean value of true if you want to enable the control, or false if you want to disable (dim) it.
Returns
Nothing.
Description
Method; enables or disables (dims) a control.
Example
The following example dims the control with the ID attribute myControl:
fl.xmlui.setEnabled("myControl", false);
See also
xmlui.getEnabled()
xmlui.setVisible()
Availability
Flash 8.
Usage
xmlui.setVisible(controlID, visible)
Vedere la pagina 541
1 2 ... 537 538 539 540 541 542 543 544 545 546 547 ... 559 560

Commenti su questo manuale

Nessun commento