![]() |
|
||||||||||
|
|||||
|
Регистрация: Jun 2004
Сообщений: 2
|
Народ! подскажите, как вообще можно во флэше использовать Раскрывающийся список.. то есть какое свойство содержит значение пункта который был выбран ... пробывал comboname.value - никак..
и еще. как изменить стиль этого элемента? чтобы хотябы шрифт был меньше и цвет другого фона |
|
|||||
|
(с) Flash Help (AS Dictionary)
FComboBox.addItem Adds a new item to the end of the combo box list. FComboBox.addItemAt Adds a new item to the combo box list at the specified index. FComboBox.getEnabled Returns true if the combo box is enabled, false if it is disabled. FComboBox.getItemAt Returns the item at the specified index as an object with the properties label and data. FComboBox.getLength Returns the number of items listed in the combo box. FComboBox.getRowCount Returns the number of rows visible in the combo box. FComboBox.getScrollPosition Returns the index of the item at the top of the combo box. FComboBox.getSelectedIndex Returns the index of the currently selected item. FComboBox.getSelectedItem Returns the currently selected item as an object with the properties label and data. FComboBox.getValue Returns the text in the input field for editable combo boxes; returns the label or data of the selected item for static combo boxes. FComboBox.registerSkinElement Registers a skin element to a property. FComboBox.removeAll Removes all items from the combo box. FComboBox.removeItemAt Removes the item at the specified index. FComboBox.replaceItemAt Replaces the label and data of an item at the specified index. FComboBox.setChangeHandler Assigns a function to call each time an item is selected or the user enters text in the text field. FComboBox.setDataProvider Registers an outside object to the component as a data source. FComboBox.setEditable Determines whether the combo box is editable (true) or static (false). FComboBox.setEnabled Specifies whether the combo box is enabled (true) or disabled (false). FComboBox.setItemSymbol Registers a symbol linkage ID to use for displaying list items in the combo box. FComboBox.setRowCount Determines the number of items displayed in the combo box without a scroll bar. FComboBox.setSelectedIndex Selects the item at the specified index. FComboBox.setSize Sets the pixel width of the combo box. FComboBox.setStyleProperty Sets a single style property for an instance of a component. FComboBox.setValue Specifies the text displayed in the text field at the top of an editable combo box. FComboBox.sortItemsBy Sorts the items in the list box alphabetically or numerically by label or by data. |
![]() |
Часовой пояс GMT +4, время: 20:12. |
|
|
« Предыдущая тема | Следующая тема » |
|
|