[AS2] ComboBox Tab Issue - goes blank on lost focus
Hello all,
Has anyone ever experienced a comboBox that goes blank every time you tab out of the box? If I change the combo's to myCombo.writable = true then this stops... but I can't have these cbo's writable because then when I reference the myCombo.value, Flash passes the text to my loadVars instead of the index value (which is essential for other system components).
I'm loading up my combo's with arrays, and then I addItem for each array value. I also have a dataGrid that users click and it populates a bunch of fields for them. For the fields that are combo boxes, I use the command "myCombo.selectedIndex = x;" where 'x' is the value from the database that is passed to myCombo when users click the dataGrid. Using the selectedIndex command changes what the comboBox displays for them, but I think this is causing the blanking out issue.
Any thoughts here? Basically I have to update the comboBox each time a user clicks the dataGrid and I can't have the comboBox go blank if the user is tabbing through all the fields. Thanks in advance for any and all help.
|