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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to