hi i have a repeater component that bound to the selection of a datagrid. it works perfectly the first time i select an item from the dtatgrid but when i select another item i get this error that i don't understand. please advise. here is my repeater and the error i get
<mx:Repeater dataProvider="{forumSvc.getMessages.result}" id="messaged" recycleChildren="true"> <mx:HBox width="100%"> <mx:VBox width="138"> <mx:Label text="{messaged.currentItem.Fullname}"/> <!--<mx:Image source="{messaged.currentItem.image}"/> --> <ns1:RoundedImage source="{messaged.currentItem.image}" cornerRadius="8"/> <mx:Text id="pkid" text="{messaged.currentItem.idmsg_msg}" visible="true"/> </mx:VBox> <mx:VBox width="100%"> <mx:HBox width="100%"> <mx:Label text="Posted On:{messaged.currentItem.date_msg}"/> <mx:Spacer width="100%"/> <mx:LinkButton label="Replay Message" height="20" mouseDown="changeView('reply_message')"/> </mx:HBox> <mx:HRule width="100%"/> <mx:Text id="message_tile" width="100%" fontSize="12" color="#FFFFFF" leading="5" text="{messaged.currentItem.content_msg}" fontFamily="Franklin Gothic Book" letterSpacing="2"/> </mx:VBox> </mx:HBox> </mx:Repeater> "RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/setChildIndex() at mx.core::Container/setChildIndex() at mx.core::Repeater/recycle() at mx.core::Repeater/execute() at mx.core::Repeater/set dataProvider() at custom_comps::forum/repeatResult() at custom_comps::forum/___Operation3_result() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent() at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler() at mx.rpc::Responder/result() at mx.rpc::AsyncRequest/acknowledge() at NetConnectionMessageResponder/resultHandler() at mx.messaging::MessageResponder/result() "