You’ll need to use a cell renderer
that uses an <mx:Image> to do this.� If the image isn’t embedded
already in the SWF the icon on the default cell renderer won’t work.� Some
of the samples will give you examples, like FlexStore even though it’s a
TileList.
Matt
Hi there,
maybe this is a very simple question but how do I
load images in a
listbox based on the dataProvider?
The images to be loaded come from the result of a
RO and I want to
load it dynamicly.
<mx:List width="180"
height="100%" id="ls_evento" iconField="icon">
<mx:dataProvider>
<mx:Array>
<mx:Object label="Golo - Normal"
entidade_id="1"
icon="images/icons/add.gif"/>
<mx:Object label="Golo - Penalty" entidade_id="2"
icon="images/icons/add.gif"/>
<mx:Object label="Golo - Livre" entidade_id="3"
icon="images/icons/add.gif"/>
</mx:Array>
</mx:dataProvider>
</mx:List>
Samples do embeb first the images and then load
them with a variables
but I want it to be dynamic.
Is it possible? I even tried with iconFunction and
inside it to embeb
the image but with no luck.
Any ideas?
Thanks
Jo�o Fernandes
Yahoo! Groups Links
|