hi List,

I have a HorizontalList with a listItemRenderer.

[Bindable]
public var ItemList:ArrayCollection;

<mx:HorizontalList    dataProvider="{ItemList}"  listItemRenderer="Thumbnail" />

The thumbnail.mxml consists of an vbox with an image and a label like so:

<mx:Vbox>
    <mx:Image source="./{dataObject.file"  />
    <mx:Label text="{dataObject.file}"/>
</mx:VBox>

My problem is that if I change the underlying model(ItemList) for the HorizontalList, the label text in the thumbnail render does not reflect the change!? However if I poll the model using

function doClick(event:Event) {
 
   ... event.target.selectedItem.file  ...

}

the updated data _is_ retrived. Seems the change is not reflected to the itemrender?!!

Am I missing something here...?

Thanks in advance :)

Cheers

 -michael



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to