0 Replies Latest reply on Jan 2, 2008 8:17 PM by mac_55

    Loading and Unloading components

    mac_55 Level 1
      Hi, I'm creating an application with flex and at the moment I'm using a component for each page that I want the user to be able to click through, then changing viewstates on button clicks.

      I was wondering, since some of my components have autorefreshing data how I'd stop them from all running at the same time...basically as one component is loaded in, unload another one. Is this what flex does with the viewstates? or does changing the viewstate away from what it was, and changing it back again not cause the component to be reloaded?

      I guess I'm trying to figure out the most efficient way to run my app.

      Any ideas? I hope my question makes sense. :)