1 Reply Latest reply on Aug 9, 2007 7:32 AM by levancho

    Find the super

    Vibes
      Can I find the inherited class of "ClassX" from an instantiation of "ClassX"?

      Example:

      //If I instantiate a VBox like this...

      var myVBox:VBox = new VBox();

      //How can I programmatically show that VBox is a subclass of Box?

      Thanks.
        • 1. Re: Find the super
          levancho Level 3
          I have noiced every question that is related to reflection and introspection in these forums get unanswered maybe because reflection/introspection is not the most appealing part of flex SDK , (alas so far ) .

          you can always do check : if ( VBox is Box)

          I am not sure either how to specifically have a java equivalent methods in flex.