This is wierd. I can take the code out of my app and it will work. In it no icon is displayed. Now my application has a LOT of Flex and AS code...is there a limit to how many things I can embed? OR any ideas as to what will prevent my icon from showing?
Thanks, Michael --- In [email protected], "heybluez" <[EMAIL PROTECTED]> wrote: > Man, > > I don't get it....it won't work! No icon is displayed. I know it is > there....any ideas? > -Michael > > --- In [email protected], "Andrew Spaulding" <[EMAIL PROTECTED]> wrote: > > 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 [email protected], "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/

