3 Replies Latest reply on Aug 15, 2011 7:28 PM by saisri2k2

    Flex 3: Calling a function which has as parameters-> e:CloseEvent, s:String

    flexir

      Suppose I have the following function:
      function fn_test(e:CloseEvent, s:String):void
      {
          //Does some kinda work
      }

       

      What should I pass as first parameter when I call it from another function?
      function fn_test2():void
      {
          Alert.show("test", "TEST", Alert.YES | Alert.NO, null,
          function():void
          {   
              fn_test(???, "test");
          }
          , myIcon);
      }

       

      Thanks