omnivore
01-19-2006, 05:26 PM
I'm have trouble accessing a combobox from a class method.
The combobox should be set to index 3. Instead it shows blank.
I can click, see the selections, click on a selection. But it remains blank.
Text boxes work fine. Just the comboboxes won't work.
dynamic class AgendaItem extends MovieClip {
function AgendaItem() {
}
function attachForm(tilepath){
form = _root.attachMovie("form", "form", 20000);
populateForm();
}
function populateForm(){
form.combo_place.selectedIndex = 3;
}
}
The form movieclip has a combobox named combo_place
Any solutions?
Thanks,
Pete
The combobox should be set to index 3. Instead it shows blank.
I can click, see the selections, click on a selection. But it remains blank.
Text boxes work fine. Just the comboboxes won't work.
dynamic class AgendaItem extends MovieClip {
function AgendaItem() {
}
function attachForm(tilepath){
form = _root.attachMovie("form", "form", 20000);
populateForm();
}
function populateForm(){
form.combo_place.selectedIndex = 3;
}
}
The form movieclip has a combobox named combo_place
Any solutions?
Thanks,
Pete