Thanks Errol, I have tried including the Flash 10 playerglobal.swc both in the plugin dependencies and in the project dependencies without any change in the behaviour. My current pom and compiler output are in this thread in a reply to Marvin. Any other ideas would would be much appreciated.
Cheers, Adam On 21/04/2009, at 4:20 PM, Errol (ACM) wrote: > > Ensure that you have playerglobal.swc as one of your dependencies. In > particular FileReference in in this library. It isn't in the > dependencies > that are in any of the repositories because it is used early in the > player > initialisation and is usually external. > > > Errol Thompson > Kiwi-ET Computing Consultancy and Computing Education Research > 2 Haven Grove > Naenae > Lower Hutt. > > E-mail: kiwiet (at) acm.org > kiwiet (at) computer.org > Windows Live: kiwiet (at) computer.org > Skype: kiwielt > Phone +64 21 2101662 > > Blog: http://kiwi-et.blogspot.com/ > Website: http://www.teach.thompsonz.net/ > -----Original Message----- > From: [email protected] [mailto:flex- > [email protected]] On > Behalf Of Adam > Sent: Tuesday, 21 April 2009 4:13 p.m. > To: Flex Mojos > Subject: [flex-mojos] Unable to compile against Flex 3.3 using > Flexmojos 3.1 > > > I require some features in Flex 3.3 which do not exist in older > versions of Flex for instance ByteArray.clear() and some functions > from the FileReference class. I am able to compile from IntelliJ > referencing the Flex 3.3 sdk which I downloaded, however when I try to > compile using flexmojos I get a list of errors which leave me in no > doubt that it is not compiling using 3.3 (basically all around the > clear function not existing in the ByteArray class, etc). > > My pom looks like this: > > <build> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.1.0</version> > <extensions>true</extensions> > <configuration> > <locales> > <locale>en_US</locale> > </locales> > <sourceFile>Kata.mxml</sourceFile> > <targetPlayer>10.0.22</targetPlayer> > </configuration> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>${project.flex.version}</version> > <type>pom</type> > </dependency> > </dependencies> > > </plugin> > </plugins> > </build> > > <dependencies> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>${project.flex.version}</version> > <type>pom</type> > </dependency> > > <dependency> > <groupId>org.puremvc</groupId> > <artifactId>puremvc</artifactId> > <version>2.0.4</version> > <type>swc</type> > </dependency> > > </dependencies> > > project.flex.version resolves to 3.3.0.4852 in the parent pom. I can > see that all the 3.3.0.4852 resources have downloaded into my repo and > everything proceeds as normal expect for the errors i have outlined. I > would really appreciate some help on this one. > > Cheers, > > Adam > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
