2 Replies Latest reply on Aug 4, 2006 7:46 AM by reFlexive

    How to find class for object

    reFlexive
      I'm trying to find the class for a given object. In Java, I could do something like:

      myObject.getClass().getName();

      but I can't find the equivalent in Flex. How do I find the class for a given Flex object? I don't know what it might be (other than Object), so I don't want to do trial-and-error with "is" or "instanceof."

      Thanks!