0 Replies Latest reply on Feb 4, 2008 3:32 PM by robyonrails

    Conflict between 2 eventHandler associated with two ChangeWatcher

    robyonrails
      This is the code
      quote:


      import mx.binding.utils.BindingUtils;
      import mx.binding.utils.ChangeWatcher;
      var cw,cw2:ChangeWatcher;
      function initializeHandler(ev:Event):void{
      cw = BindingUtils.bindProperty(dec, "text", bin, "text");
      cw2 = BindingUtils.bindProperty(bin, "text", dec, "text");
      cw.setHandler(myHandler1);
      //cw2.setHandler(myHandler2);
      }


      I don't understand the reason, but if I set the handler for cw2, myHandler1 doesn't work.
      Is there a conflict between this association?