1 Reply Latest reply on Sep 13, 2007 10:07 PM by kglad

    listing all methods and properties of an object

    Lujunq Level 1
      Hi, in as2 I was able to list "everything inside" an object with a simple loop:

      for (var index in myObject) {
      trace(index + ": " + myObject[index]);
      }

      While in as3 this still work for arrays, it seems I can't do it for an object or a class. Is there a way to do it?