I do not understand the you problem.
because common sense best case is only the components attach the Libarary in a single SWC, and programmatically do make a combo box is normal.
I you look at the full source code and .fla be clear solved, but i guess as your problem following.
Did you each combobox in SWC to wrapping? SWC of each individual to distinguish between,from the combo box is refer a following process.
For example, there are three kinds of the SWC.
If assume that Number 1 is City Selection ComboBox and Number 2 is Interesting Selection ComboBox and Number 3 is a Birthday ComboBox.
you should convert to CityComboBox, SelectionComboBox, BirthdayComboBox MovieClip that once wrapped in a crash does not occur if used after. and you must following code.
private var comboBox0:CityComboBox;
private var comboBox1:SelectionComboBox;
private var comboBox2:BirthdayComboBox;
private var cityComboBox:ComboBox;
private var selectionComboBox:ComboBox;
private var birthdayComboBox:ComboBox;
public function Constructor()
comboBox0 = new CityComboBox();
cityComboBox = comboBox0.getChildAt(0) as ComboBox;
In my experience, unless you create a each SWC mapping each Class,
SWC's do not need to be separated into each.(Of course, depending on
the circumstance different way is.) if you're a single SWC much in a
movie clip or component Libary created in you mind tidy and crash does
not exist. And what part do you know if the problem is easy. Because
they are all in one place DisplayObject, Naming, Linkage such crash can be prepared avoided.