This is a follow up on a previous post:
http://groups.google.com/group/flex-mojos/browse_thread/thread/afb503066f05ca9c
I want to create a localized swf. This is my setup:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flex.mojo.version}</version>
<extensions>true</extensions>
<configuration>
<sourceFile>i18n.mxml</sourceFile>
<resourceBundlePath>${basedir}/src/main/locales/{locale}</resourceBundlePath>
<runtimeLocaleOutputPath>${project.build.directory}/${project.artifactId}-{locale}.{extension}</runtimeLocaleOutputPath>
<includeResourceBundles>
<includeResourceBundle>messages</includeResourceBundle>
</includeResourceBundles>
<runtimeLocales>
<locale>en_US</locale>
</runtimeLocales>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex.compiler</groupId>
<artifactId>license</artifactId>
<version>${flex.version}</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
I don't want to include the mxml file, thereby making the swf bigger than it
has to be. The localized swf from Flex Mojos in this case is 183Kb. If you
compile directly with mxmlc it's 29Kb in size.
Any ideas on how to make the swf as optimized as mxmlc's version?
thanks
bjorn
--
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/