it should work. I've got the same code :p

Except where you are embedding the image my only difference is i have
a leading ./ before images, so it would look like

[Embed("./images/groupFolderSmall.jpg")]

It shouldnt make any difference though.

Andrew.

--- In flexcoders@yahoogroups.com, "heybluez" <[EMAIL PROTECTED]>
wrote:
> Hello....
> 
> This should work..shouldn't?
> 
> --- MXML
> 
> <mx:List id="subGroupList"
>       labelField="sub_desc"
>       iconFunction="subGroupsIcon"
>       width="100%" height="100%"
>       fontWeight="bold" 
>       fontSize="11" />
> 
> --- AS
> 
> // Embed icons.
> [Embed("images/groupFolderSmall.jpg")] 
> var subGroupSymbol:String; 
> function subGroupsIcon(item)
> {
>       return subGroupSymbol;
> }
> 
> ---
> 
> It outputs the list but no icons!  Any ideas?
> 
> Thanks,
> Michael




 
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