1 Reply Latest reply on Apr 25, 2006 8:19 AM by injpix

    Getting class name within a class

    DELXYZ
      Hi all,
      I ve a problem....Im giving you an example of a class...
      class MyClass
      {
      function MyClass(){}
      function toString(Void):String
      {
      //Here I want to return name of my class and instance name of my class....
      }
      }

      But how cld I return class name and also instance of my class?
      [One way to use hard coded class name] bt I dnt want to use it. Becoz I ve lot of classes that extend the base class.
      Thnx.