try binding the status image of item renderer with status field of object in arraycollection
On 5/19/09, dolly <[email protected]> wrote: > > Can you show a snippet of your code? > > On May 18, 9:08 am, rApt0r <[email protected]> wrote: >> Hi all, >> I am creating one chat application. in that i have used mx:List to >> show my friend list members and used itemRenderer to have custom node >> for each friend in list. I used Bindable Array Collection as >> DataProvider to this list. >> But when any person in friend list changes its status let say from >> available to busy. Then the person will be notified by event with the >> new status and i am changing that status in Array Collection also. but >> i am not able to change the status image in friend list for >> corresponding user.. in that friend node i am listening to dataChange >> event but its not getting fired for change of data. its getting fired >> for the first time i am settting data. and in that too in the event >> listener i am getting the same old data. but when i check if it has >> been updated or not after that event listener has completed execution >> its showing me updated data. Please help me because i am stuck here. >> If you guys find any better way to do it.. i.e using some other event >> listener. or other method let me know.. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

