1 Reply Latest reply on Dec 4, 2007 2:19 AM by atta707

    AutoRefesh ListBox

    FlexyBoy Level 1
      Hello,

      I have a flex application in which I have a list populated from an ArrayCollection. The ArrayCollection might change with respect to no of items. I want to AutoRefresh the List every 3 secs. (Note that I don't want to refresh the browser, I just want my list to be refreshed every 3 secs). How do I do this?

      Any help would be highly appreciated.

      Thx
        • 1. Re: AutoRefesh ListBox
          atta707 Level 2
          how does ArrayCollection change? From the client data or does it has to go to server?

          if ONLY client side, just make sure that it's [Bindable] and when you add new rows to it will automatially show those.

          On the other hand if you're getting data from server side to add to this list, you'll use Timer class with HttpService class to send request to server every 3 seconds and add the new data to the list.

          ATTA