@cyberfunk - I've had similar issues with the compatibility mode flag. I'm able to get it working in FlashBuilder but not via the CL compilers. The way I finally solved the issue was to add the -dump- config option followed by a path to the FlashBuilder project and check the Flex 3 compatibility box. This will produce a flex-config.xml file at the path you provided. From there you can use that flex- config.xml with the CL compiler (Ant, FM, etc) to get things working. I think there is still some disconnect between builder and the CL compilers, so hopefully this will be fixed soon. I may have missed something major however, but this was my approach.
The only other suggestion I can make is to go through the migration guide Adobe put out @ http://www.adobe.com/devnet/flex/articles/flex3and4_differences_03.html. Hope this helps. -Brian On Dec 1, 9:02 am, cyberfunk <[email protected]> wrote: > I'm wondering whether anyone has run into this issue. > > I'm compiling using Flex 4 but need backward compatibility mode > enabled in order to also use Flex 3 components (halo) in conjunction > with the new Spark components. > > Essentially, I get compiler errors on the 'mx' namespace when > compiling using the Flex 4 SDK with flexmojos. > > I tried adding a dependency on the Flex 3 framework but this produces > a whole new set of errors which appears to be related to a duplication > of some of the 'mx' classes between the Flex 3/4 swc files. > > I've tried specifying the <compatibilityVersion /> configuration, but > whatever I set it to: 3, 3.0, 3.2 fails with the error: > > [INFO] Invalid compatibility version 3.0 > > Has anyone managed to get Spark+Halo working with flexmojos? > > Cheers, > > mischa. -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/
