2 Replies Latest reply on Oct 17, 2009 11:09 AM by daco75

    use custom flex 4 components with flex 3?

    daco75

      Anyone know if it is possible to build a custom component in Flex 4 and then use that custom component with flex 3?

        • 1. Re: use custom flex 4 components with flex 3?
          mewk Level 3

          Well, as long as your custom component doesn't use any spark or fx tags, it's a simple thing to copy and paste (with minor changes to the namespaces).

           

          Another alternative might be to compile your component as a standalone swf and then use it as a sub-application of your main program (only thing I know that allows multi-versioning). You can read more about sub-applications here.

           

          - e

          1 person found this helpful
          • 2. Re: use custom flex 4 components with flex 3?
            daco75 Level 1

            thanks for the link, e.

             

            yes, that is exactly what I would be doing -- creating an SWF.

             

            my application has a kind of plug-in architecture where it loads different SWFs based on the option the user chooses.  Each SWF is pretty much self-contained, however, some do use common/shared custom components.