I wish I had a good answer. Right now we have to trust the publishers to make their version dependencies clear. It might be worth filing an enhancement request. I think there may be some hard to get data in the SWC that will hint to us about version dependencies.
On 5/19/10 12:33 PM, "[email protected]" <[email protected]> wrote: This was the problem Alex!!! When I used an older version of a swc, everything worked fine. Thank you for your time and knowledge!!! So now I wonder, how can you determine what SDK version any particular swc is created with? If I am stuck in a 3.2 world, and grab a 4.x swc but don't know what version it was compiled with, the compiler won't help me out by telling me it is potentially incompatible. Argggggg.... --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aha...@...> wrote: > > Try a brand new project w/o any third-party libraries. > > It may not help to just recompile third-party libraries if those libraries > reference Flex 4 versions of classes and interfaces. You have to make sure > there aren't any references to Flex 4 (or even 3.3 and later) in the > libraries you are using. > > > On 5/18/10 7:08 PM, "jmbo...@..." <jim_bo...@...> wrote: > > > > > > > > > Good point. With Flex 4 out and us still using Flex 3.2,we will need to be on > the lookout for inconsistencies. I recompiled several swfs locally using 3.2 > to ensure this wasn't the problem. > > I probably omitted important information. I was compiling a swf file that > inherited from Application. Because we are really treating them as Modules, > I changed the base class to Module from Application. When I change it back > to Application, everything compiles. So, it apparently has to do with trying > to compile stand-alone Modules using FB3 and Maven. I tried hard to get the > org.sonatype.flexmojos to compile my code when I inherited from Module, but > no luck. > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aharui@> wrote: > > > > If you have a library/swc in the library-path that is based on code newer > > than 3.2, that would cause this problem. > > > > > > On 5/18/10 2:23 PM, "jmboone@" <jim_boone@> wrote: > > > > > > > > > > > > > > > > > > Hummm, > > > > I don't know how that would be. This happens within Eclipse, and when I > > compile using Maven from the command line using version 3.2 of the > > compiler. I have verified that the compiler version is the same across all > > my projects. > > > > I get the same error if I add a Module to my project that does nothing. I > > don't get the error in any of my other similar projects....I hate software > > some days. > > > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > > <mailto:flexcoders%40yahoogroups.com> > > <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aharui@> wrote: > > > > > > Sounds like the compiler is not compatible with the SWCs you are > > > compiling against. > > > > > > > > > On 5/18/10 12:42 PM, "jmboone@" <jim_boone@> wrote: > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > I have am trying to compile one of my modules but I am getting the errors > > > shown below. This is in generated code and I am not certain what it is > > > trying to tell me. Has anyone see this before? > > > > > > Thanks! > > > > > > -- Jim > > > > > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface > > > method get preloadedRSLs in > > > namespace mx.core:IFlexModuleFactory not implemented by class > > > _PharmacySpendApp_mx_core_FlexModuleF > > > actory.public class _PharmacySpendApp_mx_core_FlexModuleFactory > > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface > > > method allowInsecureDomain > > > in namespace mx.core:IFlexModuleFactory not implemented by class > > > _PharmacySpendApp_mx_core_FlexModul > > > eFactory.public class _PharmacySpendApp_mx_core_FlexModuleFactory > > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface > > > method allowDomain in names > > > pace mx.core:IFlexModuleFactory not implemented by class > > > _PharmacySpendApp_mx_core_FlexModuleFactory > > > .public class _PharmacySpendApp_mx_core_FlexModuleFactory > > > > > > > > > > > > > > > > > > > > > -- > > > Alex Harui > > > Flex SDK Team > > > Adobe System, Inc. > > > http://blogs.adobe.com/aharui > > > > > > > > > > > > > > > > > -- > > Alex Harui > > Flex SDK Team > > Adobe System, Inc. > > http://blogs.adobe.com/aharui > > > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

