title: Iterating through array of objects, populating BarChart, and saving each as image
body: <p>I am creating an option in my application to create a PDF report based on the results from the application.</p>
  
  <p>The results are represented as an ArrayCollection of XMLList objects, which I am using to populate a BarChart.</p>
  
  <p>To create a screenshot of each result (as a PNG), I am loading the Results Window (a Title Window) and hiding it (visible = false).  I am using AlivePDF to add the capture to a PDF report.</p>
  
  <p>I have been using a Timer to iterate through the results, load each result to the chart, create a delay, and then capture the image and add it to the report.  </p>
  
  <p>I am now questioning my strategy and I was wondering if anyone has a suggestion as to any other possibilities. </p>
  
  <p>I thank you for your help in advance. </p>
  
  <p>P.S. I am not creating a client/server application.  I need to create the images on the client side. </p>
  
  <p>UPDATE</p>
  
  <p>Sorry about the confusion with my question.  </p>
  
  <p>Currently, I am able to iterate through the results (using the Timer), but the chart does not refresh properly before capturing the screenshot and saving as PNG.</p>
  
  <p>Essentially, I am trying to see if there is any other possible solutions for iterating through the results and creating a delay so that I may be able to load a result to the chart, capture the screenshot, and add it to a PDF.  Is there any other way to do this in Flex? </p>
  
  <p>Initially, I was thinking of iterating through the results array using a for loop, but this was not working due to the fact that the results were not loading in time before capturing the screenshot of the chart.</p>