ActionScript 2.0 Components Language Reference |
|
|
|
| List component > List.selectable | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
listInstance.selectable
Property; a Boolean value that indicates whether the list is selectable (true) or not (false). The default value is true.
The following example prevents users from selecting items in the list by setting the selectable property to false:
var my_list:mx.controls.List;
my_list.addItem({data:"flash", label:"Flash"});
my_list.addItem({data:"dreamweaver", label:"Dreamweaver"});
my_list.addItem({data:"coldfusion", label:"ColdFusion"});
my_list.selectable = false;
|
|
|
|