Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 538

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 537
516
EXTENDING FLASH CS4 PROFESSIONAL
XMLUI object
Returns
A string that represents the value of the specified property. In cases where you might expect a Boolean value of true
or
false, it returns the string "true" or "false".
Description
Method; retrieves the value of the specified property of the current XMLUI dialog box.
Example
The following example returns the value of a property named URL:
fl.xmlui.get("URL");
See also
fl.xmlui, document.xmlPanel(), xmlui.getControlItemElement(), xmlui.set()
xmlui.getControlItemElement()
Availability
Flash 8.
Usage
xmlui.getControlItemElement(controlPropertyName)
Parameters
controlPropertyName A string that specifies the property whose control item element you want to retrieve.
Returns
An object that represents the current control item for the control specified by controlPropertyName.
Description
Method; returns the label and value of the line selected in a ListBox or ComboBox control for the control specified by
controlPropertyName.
Example
The following example returns the label and value of the currently selected line for the myListBox control:
var elem = new Object();
elem = fl.xmlui.getControlItemElement("myListBox");
fl.trace("label = " + elem.label + " value = " + elem.value);
See also
fl.xmlui, document.xmlPanel(), xmlui.get(), xmlui.setControlItemElement(),
xmlui.setControlItemElements()
Zobrazit stránku 537
1 2 ... 533 534 535 536 537 538 539 540 541 542 543 ... 559 560

Komentáře k této Příručce

Žádné komentáře