My combo box is populated by a static array. IE
public var dirPrefix: Array = [ {label: , data: },{label:N,
data:N}, {label:S, data:S}, {label:E, data:E}, {label:W,
data:W}, {label:NE, data:NE},
{label:SE, data:SE}, {label:NW, data:NW}, {label:SW,
data:SW} ];
I have tried using selectedLabel,
You can loop over your array then set the index based on that.for (var i = 0;i dirPrefix.length; i++){ if (dirPrefix[i].label ==
result.fld_propDir) { parentApplication.etss.fld_propDir.selectedIndex = i; }}if fld_propDir is the matching item for you dirPrefix
On 4/18/06, Jeremy Rottman
2 matches
Mail list logo