1 Reply Latest reply on Feb 16, 2011 5:25 PM by Flex harUI

    Calling both invalidateDisplayList() and validateNow()

    Gregory Lafrance Level 6

      I'm doing a code review of a code base, and I see the following method calls one after the other:

       

      myWindow.invalidateDisplayList();
      myWindow.validateNow();
      


      Is the call to validateNow() unnecessary, or is it there to force an immediate update, and thus it is acceptable to have both these calls one after the other?