0 Replies Latest reply on Mar 11, 2010 12:37 AM by satheeshpallath12

    How to declare a function inside another function/

    satheeshpallath12

      Hai Sir,

       

      How can we declare a function  within a function in flex?

       

      Is it possible this...

       

      private function abc():void

      {

        function xyz():void

      {

      }

      }

       

      but showing errors whle calling the buttons...

       

      Error:

      1180: Call to a possibly undefined method  initReceivestream 

      <mx:Button x="160" y="507" label="ReceiveStream" fontSize="10" click="initReceivestream()"/>