2 Replies Latest reply on Oct 28, 2007 5:26 AM by Newsgroup_User

    Bug or feature?

      If I have a class

      class A {
      public function foo() ...

      And create two instances of it

      var a1 = new A();
      var a2 = new A();

      Why these comparisons are all true?

      trace(a1.foo == a2.foo); // true
      trace(a1.foo === a2.foo); // true

      The problem is I made an Event Listener model and I must identify the correct function to remove..
      Any solutions?

      Ian Liu.