9 Replies Latest reply on May 7, 2007 4:27 PM by pajaroplus

    Event Handlers

      I'm trying to run a calculation on some input fields. I want it to run one calculation if a certain radioButton is selected; I want it to run a different calculation if the other radioButton is selected. Would this be the correct way to create the eventhandler to determine which one should run?

      public function change(event:Object):Void
      if (event.target == increase, subtotal, percentRadio1); {
      if (event.target == increase, subtotal, percentRadio24); {