3 Replies Latest reply on May 19, 2006 4:57 PM by Newsgroup_User

    Auto-Import

    kjasonwest
      I thought Flex 2 Beta 1 had a feature that automatically imported any classes referenced in one's MXML application.

      Was this feature removed in later releases? I was certain it worked in Beta 2 as well. But I could be wrong.

      Thanks
        • 1. Re: Auto-Import
          Level 7
          Hi

          It's not removed, it's just slightly sensitive to the state of the MXML
          document that is currently being edited. If the MXML is malformed,
          we're not able to safely determine where an import should be imported.
          A great way to determine if your MXML is malformed is with the tag
          outline view. If it features a red exclamation point, your document is
          malformed.

          Hope that helps!
          -david

          --
          David Zuckerman
          Software Engineer, Flex Builder 2
          http://www.davidzuckerman.com/adobe/

          kjasonwest wrote:
          > I thought Flex 2 Beta 1 had a feature that automatically imported any classes
          > referenced in one's MXML application.
          >
          > Was this feature removed in later releases? I was certain it worked in Beta 2
          > as well. But I could be wrong.
          >
          > Thanks
          >
          • 2. Re: Auto-Import
            kjasonwest Level 1
            I don't see any red exclamation points, yet I still can't get auto-import to work.

            Is it possible for my MXML to be malformed without seeing red exclamation points?

            Thanks,

            Jason
            • 3. Re: Auto-Import
              Level 7
              Most likely not. It's very possible it's a bug. Could you send your
              file, or perhaps give me more information about what you're going and
              when it fails?

              -david
              --
              David Zuckerman
              Software Engineer, Flex Builder 2
              http://www.davidzuckerman.com/adobe/

              kjasonwest wrote:
              > I don't see any red exclamation points, yet I still can't get auto-import to work.
              >
              > Is it possible for my MXML to be malformed without seeing red exclamation points?
              >
              > Thanks,
              >
              > Jason