rattleheadmegafan
06-27-2008, 06:10 PM
Hi,
I have an editable combobox cmbTest with values "a", "b" and "c"
In my actionscript procedure, I am dynamically changing it's set of values to "d", "e" and "f". But since it's an editable dropdown, I want the default value to be "z" with the selectable options as "d", "e" and "f". To do this, i'm doing the following from my AS code:
var ml:Array = new Array("d","e","f");
cmbTest.dataProvider = ml;
cmbTest.text = "z";
And it doesn't seem to work. Any help would be appreciated.
TIA!
I have an editable combobox cmbTest with values "a", "b" and "c"
In my actionscript procedure, I am dynamically changing it's set of values to "d", "e" and "f". But since it's an editable dropdown, I want the default value to be "z" with the selectable options as "d", "e" and "f". To do this, i'm doing the following from my AS code:
var ml:Array = new Array("d","e","f");
cmbTest.dataProvider = ml;
cmbTest.text = "z";
And it doesn't seem to work. Any help would be appreciated.
TIA!