Can't addChild combobox - parameter child must be non-null

Been trying lots of combinations but can’t seem to crack it - hoping you guys can help. This is the code:

var _combobox_cb:ComboBox  = new ComboBox();
_combobox_cb.addItem({data:1,label:"TestItem01"});
addChild(_combobox_cb);

which results in:

TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/drawBackground()
at fl.controls::BaseButton/draw()
at fl.core::UIComponent/drawNow()
at fl.controls::ComboBox/drawLayout()
at fl.controls::ComboBox/draw()
at fl.core::UIComponent/callLaterDispatcher()
TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/drawBackground()
at fl.controls::BaseButton/draw()
at fl.core::UIComponent/callLaterDispatcher()

I’m having the same issue. have you found a solution?

You will need to make sure you have the ComboBox component in your library.