Well, looks like you need flashplayer 10, but you are using player global 9
(which means flashplayer 9)
Try to add playerglobal 10 dependency:
<dependency> <groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId> <version>3.3.0.4852</version>
<classifier>10</classifier> <type>swc</type> </dependency>

VELO

On Tue, Apr 21, 2009 at 1:12 AM, Adam <[email protected]> wrote:

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

Reply via email to