2 Replies Latest reply on Dec 11, 2009 7:02 AM by Gregory Lafrance

    abaut callback function

    jciglesias@uci.cu

      I've been looking for some explanation of callback function on google and all I found was events, nothing abaut callback

       

      if somebody could give me a short lines of what is for the callback function that will be great

       

      flex builder 3 use a calllater()  function ,, how cant i use that function

       

      thanks

        • 1. Re: abaut callback function
          Bogdan Manate Level 2

          The callLater() method queues an operation to be performed for

          the next screen refresh, rather than in the current update. Without

          the callLater() method, you might try to access a property of a

          component that is not yet available. The callLater() method is most

          commonly used with the creationComplete event to ensure that a

          component has finished being created before Flex proceeds with a

          specified method call on that component.

                  All objects that inherit from the UIComponent class can open

          the callLater() method.

          1 person found this helpful
          • 2. Re: abaut callback function
            Gregory Lafrance Level 6

            The callLater() method queues an operation to be performed for the next screen refresh, rather than in the current update. Without the callLater() method, you might try to access a property of a component that is not yet available. The callLater() method is most commonly used with the creationComplete event to ensure that a component has finished being created before Flex proceeds with a specified method call on that component.

            http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_12.html

             

            If this post answers your question or helps, please mark it as such.


            Greg Lafrance
            www.ChikaraDev.com

            Flex Development and Support Services

            1 person found this helpful