4 Replies Latest reply on Sep 6, 2012 5:09 AM by leejk

    CreationComplete Event Behavior

    leejk Level 1

      Hi,

       

      All of the documentation I have read states that this event is fired after the last render event of a Flex component. In my tests, it fires after the initial commit, measure, and updateDisplayLists are fired, which Flex calls automatically after the component is added by it's parent. If I make calls to additional methods like invalidateDisplay() or invalidateSize(), the event is not fired after these. If according to the documentation it is supposed to fire after the last render event, why is it firing before?

       

      This behavior makes it really difficult to get the component's correct size.

       

      thx