1 Reply Latest reply on Aug 14, 2007 4:07 AM by koushks

    Dynamic Function Calls

    ogden_shooter Level 1
      In Flash you used to be able to make dynamic function calls, meaning you could have a class that had a number of different functions then make the call something to the affect of:

      is there a way to do this in Flex?

        • 1. Re: Dynamic Function Calls
          The best way I can think of is to use events.

          1. Declare events for each action that you want to do dynamically.
          2. Hook those events to corresponding functions using Event handlers.
          3. Trigger events dynamically whenever you want corresponding functions to execute.