4 Replies Latest reply on Oct 20, 2010 7:30 AM by dc200

    How do I know when Flex is done drawing/rendering everything?

    dc200

      I've got a chart in Flex 4 that works by letting the user select an item from a DropDownList and then retrieving all values associated with that value from a database.

       

      Whenever the user selects a new item, the entire chart is redrawn, which takes about 2-3 seconds. During that time, I want to display a loading icon that is triggered by a boolean var. The problem with this is that I have no reliable way of knowing when Flash is done loading/drawing/rendering everything.

       

      The attribute "creationComplete" doesn't seem to help since it triggers way too early.