I'm getting the following error when using flex-mojos to build a flex
library
Error: unable to resolve '/images2/iconSave.png' for transcoding
Here is the mxml code:
<mx:Button x="315" y="10" paddingTop="2"
width="32" height="23"
styleName='extButtonMiniBlue'
icon="@Embed(source='/images2/iconSave.png')" />
Here is my pom:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flex-mojos.version}</version>
<extensions>true</extensions>
<configuration>
<sourcePaths>
<path>${basedir}/src/main/flex</path>
<path>${basedir}/src/main/resources</path>
</sourcePaths>
<allowSourcePathOverlap>true</allowSourcePathOverlap>
<resourceBundlePath>${basedir}/src/main/resources/locale/{locale}
</resourceBundlePath>
<mergeResourceBundle>true</mergeResourceBundle>
<compiledLocales>
<locale>cs_CZ</locale>
<locale>en_US</locale>
</compiledLocales>
<targetPlayer>${flashPayer.version}</targetPlayer>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
the 'image2' folder is placed under src\main\resources\
Any ideas what I'm doing wrong?
Thanks in advance!
--
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/