0 Replies Latest reply on Jun 30, 2009 8:31 AM by jeffreypritchard

    ProgressBar TypeError #1009 on updateDisplayList()

    jeffreypritchard Level 1



      I have a progress bar on a component which is declared as follows:


                          <mx:ProgressBar id="pbRequestStatus"


      Whenever the component which holds the progressBar is removed from the stage I am getting the null reference error and I don't understand why. It looks like the updateDisplayList method of the ProgressBar is trying to retrieve the metrics on the bar while it is not visible, but I don't understand why it would do that if the component is not visible.


      Sorry to be so cryptic, but that's the best way I can explain what is happening. Any thoughts ?