[Marvin suggested I post this issue discussion here instead of
continuing the in the bug report, 
https://issues.sonatype.org/browse/FLEXMOJOS-331.]

When using flexmojos:compile-swf with Flex SDK 4.1.0.16076 and using
caching scope, the SWF artifact attempts to load datavisualization
first causing the Flash VerifyError: Error #1014: Class
mx.effects::TweenEffect could not be found. The Flash player is
loading datavisualization_4.1.0.16076.swz before any other frameworks.

My pom.xml dependency order matches the RSL order in flex-config.xml.
This is the same order in defined in com.adobe.flex.framework:common-
framework:4.0.0.14159. Maven resolves the RSL dependencies using the
sort order from com.adobe.flex.framework:common-framework. This order
is used in turn by the flexmojos:compile-swf goal to order the "-
runtime-shared-library-path=..." arguments. For some reason,
com.adobe.flex.framework:common-framework:4.1.0.1607 sorts the
dependency order alphabetically. Is this an oversight or am I missing
the reason?

Would a work-around be to create my own com.adobe.flex.framework:flex-
framework:4.1.0.1607 that references my reordered
com.adobe.flex.framework:common-framework:4.1.0.1607?

-- 
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

http://flexmojos.sonatype.org/

Reply via email to