3 Replies Latest reply on Mar 19, 2009 9:46 AM by salut

    Passing multiple events as parameters to functions

      I want to pass MouseEvent and a custom ComboSelectedEvent to a function. I really would like to do this:

      public function getPublications(event:MouseEvent, event:ComboSelectedEvent)

      But it doesn't work in Flex. To make it work, I ended up using the Event class, which includes all events:

      public function getPublications(event:Event)

      Is this the correct Flex way or is there a better way? Thanks for your help.