1 Reply Latest reply on Nov 13, 2008 11:28 AM by Newsgroup_User

    Does Flex have Inner classes?

    istrasci Level 1
      I'm wondering if it's possible to write inner classes in Flex. I have a form where one component can be dynamically added or removed multiple times. For example, a phone book entry. You could add as new new people as necessary, or delete entries as well. Anyway, since that component only makes sense in the context of that particular form, I'd like to make it an inner class instead of making it readily available to every form. Is this possible?
        • 1. Re: Doe Flex have Inner classes
          Level 7

          "istrasci" <webforumsuser@macromedia.com> wrote in message
          news:gfhkbe$eic$1@forums.macromedia.com...
          > I'm wondering if it's possible to write inner classes in Flex. I have a
          > form
          > where one component can be dynamically added or removed multiple times.
          > For
          > example, a phone book entry. You could add as new new people as
          > necessary, or
          > delete entries as well. Anyway, since that component only makes sense in
          > the
          > context of that particular form, I'd like to make it an inner class
          > instead of
          > making it readily available to every form. Is this possible?

          You could use the component tag...