I have a repeater:

<mx:Repeater dataProvider="{_main._newss}" id="newsRepeater">
<mx:Label text="{_main._newss.getItemAt(newsRepeater.currentIndex)}"/>
</mx:Repeater>

_newss, is an instance of a custom  Newss Class extends ArrayCollection.

When I change _newss like this:
_newss = new Newss();

I have an error:
Error: Repeater is not executing.

Is there a way to dynamically change repeater's Dataprovider without 
having this kind of probleme.

Thanks 
Thierry

Reply via email to