Hi Guys,
I have a problem with Flex 4.5.1.21328 too.
I am using flexmojos 4.0-RC2, as it does not have the goal
flexmojos:flashbuilder, so I am using "mvn
org.sonatype.flexmojos:flexmojos-maven-plugin:3.9:flashbuilder",
everything compiles ok but when I run I get the error
"VerifyError: Error #1014 Class Not Found Exception
mx.core.UIComponent".
My flexmojos configuration in the pom.xml file is:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>4.0-RC2</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>4.5.1.21328</version>
<type>pom</type>
</dependency>
</dependencies>
<configuration>
<configurationReport>true</configurationReport>
<locales>
<locale>en_US</locale>
</locales>
<swfVersion>12</swfVersion>
<contextRoot>/mywebapp</contextRoot>
</configuration>
</plugin>
Trying to discover what is the problem, I saw that the problem is in
the .actionScriptProperties generated by flexmojos:
In the .actionScriptProperties file by flexmojos, at some point we
have:
<libraryPathEntry kind="4" path="">
<modifiedEntries>
...A lot of libraryPathEntry to SWC file from Flex
Framework.
</modifiedEntries>
<excludedEntries>
...Anothers libraryPathEntries
</excludedEntries>
</libraryPathEntry>
The .actionScriptProperties file generated by FlashBuilder is very
similar, but in this point is diferent:
<libraryPathEntry kind="4" path="">
...We do not have <modifiedEntries>
<excludedEntries>
...Anothers libraryPathEntries
</excludedEntries>
</libraryPathEntry>
If I remove the modifiedEntries from .actionScriptProperties file
generated by flexmojos, the swf´s Runs with success.
Eli Barbosa,
On 26 out, 08:19, james <[email protected]> wrote:
> The pom is
> here:http://code.google.com/p/javaems/source/browse/trunk/example/client/f...
>
> on lines 75 to 78 I have put some properties to define the two
> different sdks:
>
> <flashplayer.version>10.0</flashplayer.version>
> <flex.version>4.1.0.16076</flex.version>
> <!--<flashplayer.version>10.2</flashplayer.version>
> <flex.version>4.5.1.21328</flex.version>-->
>
> the swf generated in the target directory works fine with 4.1.0.16076
> but if you uncomment 4.5.1.21328,
> the flash player has a blank screen and you get the VerifyError: Error
> #1053.
>
> James
>
> On Oct 25, 10:12 pm, Grant Smith <[email protected]> wrote:
>
>
>
>
>
>
>
> > Could you post your pom.xml ?
>
> > On Tue, Oct 25, 2011 at 11:06 AM, james <[email protected]> wrote:
>
> > > Hi
>
> > > I have an app that works fine with flex sdk 4.1.0.16076 using flex-
> > > mojos 4.0-RC2.
>
> > > When I upgrade to flex sdk 4.5.1.21328; everything compiles ok but
> > > when I run
> > > the swf I get a blank screen in the Flash player and an error message
> > > saying:
>
> > > VerifyError: Error #1053: Illegal override of z in
> > > mx.core.UIComponent.
>
> > > This appears to be related to the swf-version or target player but the
> > > flex-configs.xml report generated
> > > by flexmojos reports that swf-version is 11 and target player 10.2.0.
>
> > > Any ideas on how to fix this would be much appreciated.
>
> > > James
>
> > > --
> > > 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/
>
> > --
> > Grant Smith - V.P. Information Technology
> > Marathon Computer Systems, LLC.- Hide quoted text -
>
> > - Show quoted text -
--
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/