pickels5980
01-21-2003, 06:37 AM
I create an empty movieclip then attach a function to it that attaches a combobox. The combobox displays ok but it has no contents. Does flash mx have a bug when it comes to attaching comboboxes on emptymovieclips?
_root.createEmptyMovieClip("comboHolder", 1);
_root.comboHolder.initCombo = function()
{
this.initialization = { editable:false, rowCount:8 }
this.attachMovie("FComboBoxSymbol", "combobox", 100, initialization);
this.contentArray = new Array('1','2','3','4','5','6','7','8','9','10');
this.combobox.setDataProvider(contentArray);
}
comboHolder.initCombo();
_root.createEmptyMovieClip("comboHolder", 1);
_root.comboHolder.initCombo = function()
{
this.initialization = { editable:false, rowCount:8 }
this.attachMovie("FComboBoxSymbol", "combobox", 100, initialization);
this.contentArray = new Array('1','2','3','4','5','6','7','8','9','10');
this.combobox.setDataProvider(contentArray);
}
comboHolder.initCombo();