Does the list component in Flex not have setPropertiesAt() ?  This method of the list takes two arguments:

1)       the index of the row in the list you want to modify (listen for a change event and then check the selectedIndex  property of the list).

2)       a style object which allows 2 properties of the row in question to be set—the backgroundColor (hex value) and an icon (in Flash the icon properties value would be equivalent to the linkage id of a MovieClip in the library you wished to use as an icon).

 

I hope this helps—I’m a Flash guy who lurks on the flexcoders list in a lame attempt to keep abreast of the technology.

 

Regards,

 

Brooks

 


From: [email protected] [mailto:[email protected]] On Behalf Of Ghislain Simard
Sent: Tuesday, August 09, 2005 10:06 PM
To: [email protected]
Subject: [flexcoders] Re: selectedItem in a list shows an icon

 

Is there an example you can show me...I'm not quite sure to
understand what you proposed.
Thanks

--- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote:
> Use a custom cellRenderer that shows an icon when the 3rd
parameter to the
> setValue function is "selected".
>
> ----- Original Message -----
> From: "Ghislain Simard" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, August 09, 2005 11:03 PM
> Subject: [flexcoders] selectedItem in a list shows an icon
>
>
> HI,
> How can we get a list and once an item is selected we see an icon
> appearing beside that selectedItem?
>
> thanks
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links





--
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
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to