What could be the problem?
import mx.controls.*;
var mcEscolheLivros:MovieClip;
var cbLivros:ComboBox;
mcEscolheLivros = this.createEmptyMovieClip("target", this.getNextHighestDepth());
cbLivros = mcEscolheLivros.createClassObject(ComboBox, "cb", mcEscolheLivros.getNextHighestDepth());
cbLivros.setSize(200);
cbLivros.addItem({data:1, label:"oi"});
REPORTED:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 7: There is no method with the name 'addItem'.
cbLivros.addItem({data:1, label:"oi"});
OBS> there's a comboBox in the lib
thanx