import mx.collections.ArrayCollection;
[Bindable]
public var items:ArrayCollection = new ArrayCollection([
{item:2000},
{item:3300},
{item:3000},
{item:2100},
{item:3200}
]);
public function addDataItem():void {
// Add a randomly generated value to the data provider
var n:Number = Math.random() * 3000;
var o:Object = {item:n};
items.addItem(o);
}
elementOffset="30" id="slideDown" />
showDataEffect="slideDown" hideDataEffect="slideDown" />