
Код AS3:
import fl.controls.ComboBox;
import fl.data.DataProvider;
var dp:DataProvider = new DataProvider();
var cb:ComboBox = new ComboBox();
cb.dataProvider = dp;
addChild(cb);
var counter = 0;
var t:Timer = new Timer(500);
t.addEventListener(TimerEvent.TIMER,addAnotherItem);
t.start();
function addAnotherItem(e:TimerEvent = null):void {
dp.addItem( { label: "Item " + counter++ } );
}
пишет
Scene 1, Layer 'Layer 1', Frame 1, Line 1 1172: Definition fl.controls:ComboBox could not be found.
Scene 1, Layer 'Layer 1', Frame 1, Line 2 1172: Definition fl.data

ataProvider could not be found.
как это нету такого класса чтоли?