Hello,

Is it possible to target flash player 10 yet? I need some of the SPEEX
audio codec stuff that comes with sdk 3.2 targeting fp 10.

I've set the following dependency:
<dependency>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>flex-framework</artifactId>
  <version>3.2.0.3958</version>
  <type>pom</type>
</dependency>

compiling to target 9 works fine, but when i set the targetPlayer
property to target 10
<build>
  <sourceDirectory>src/main/flex</sourceDirectory>
  <testSourceDirectory>src/test/flex</testSourceDirectory>
  <plugins>
    <plugin>
      <groupId>info.flex-mojos</groupId>
      <artifactId>flex-compiler-mojo</artifactId>
      <version>2.0M9</version>
      <extensions>true</extensions>
      <configuration>
        <locales>
           <locale>en_US</locale>
        </locales>
        <debug>true</debug>
        <targetPlayer>10.0.0</targetPlayer>
        <defaultBackgroundColor>FF0000</defaultBackgroundColor>
        <defaultSizeWidth>400</defaultSizeWidth>
        <defaultSizeHeight>300</defaultSizeHeight>
        <enableMavenResourcesResolver>true</
enableMavenResourcesResolver>
        <output>wowzapoc.swf</output>
      </configuration>
    </plugin>
  </plugins>
</build>

I get the following error:

[INFO] Loading configuration file /Users/jon/Workspace/BabelCentral/
wowzapoc-flex/target/classes/config.xml
[ERROR] Definition __AS3__.vec:Vector could not be found. [Generated
code (use -keep to save): Path: Main-generated.as, Line: 1, Column: 1]
[ERROR] Definition __AS3__.vec:Vector could not be found. [Generated
code (use -keep to save): Path: Main-generated.as, Line: 1, Column: 1]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error compiling!
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
compiling!
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:583)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:478)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
compiling!
        at info.rvin.mojo.flexmojo.compiler.AbstractFlexCompilerMojo.build
(AbstractFlexCompilerMojo.java:2015)
        at info.rvin.mojo.flexmojo.compiler.AbstractFlexCompilerMojo.run
(AbstractFlexCompilerMojo.java:1077)
        at info.rvin.mojo.flexmojo.AbstractIrvinMojo.execute
(AbstractIrvinMojo.java:179)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:558)
        ... 16 more
[INFO]
------------------------------------------------------------------------


Is there anything special i need to target player 10? Do I need to
work with 2.0M10?

Thanks again for the help.

Jon Marston

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