I'm trying to do a Flex SDK upgrade from 4.1.0.16076 to 4.5.0.20967.
When changing the version, my project compiles, but I get a runtime
error instead:

VerifyError: Error #1014: Class IIMEClient could not be found.

        at flash.display::MovieClip/nextFrame()
        at mx.managers::SystemManager/deferredNextFrame()[E:\dev\hero_private
\frameworks\projects\framework\src\mx\managers\SystemManager.as:284]
        at mx.managers::SystemManager/
preloader_preloaderDocFrameReadyHandler()[E:\dev\hero_private
\frameworks\projects\framework\src\mx\managers\SystemManager.as:2633]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private
\frameworks\projects\framework\src\mx\preloaders\Preloader.as:515]
        at flash.utils::Timer/_timerDispatch()
        at flash.utils::Timer/tick()

If I manually download Flex SDK 4.5.0.20967 and compile the project
using FlashBuilder everything works just fine. Do I have to specify
something in my pom to be able to use Flex SDK 4.5? Everything seems
to work with 4.1. Parts of my pom.xml:

<project>

        <properties>
                <flexmojos.version>4.0-RC1</flexmojos.version>
                <flex.version>4.5.0.20967</flex.version>
        </properties>

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flexmojos.version}</version>
                                <extensions>true</extensions>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>compile-swf</goal>
                                                        <goal>wrapper</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <dependencies>
                                        <dependency>
                                                
<groupId>com.adobe.flex</groupId>
                                                
<artifactId>compiler</artifactId>
                                                
<version>${flex.version}</version>
                                                <type>pom</type>
                                        </dependency>
                                        <dependency>
                                                
<groupId>com.adobe.flex.compiler</groupId>
                                                <artifactId>asdoc</artifactId>
                                                
<version>${flex.version}</version>
                                                
<classifier>template</classifier>
                                                <type>zip</type>
                                        </dependency>
                                </dependencies>
                        </plugin>
                </plugins>
        </build>

        <dependencies>
                <!-- Flex dependencies -->
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark</artifactId>
                        <type>swc</type>
                        <scope>theme</scope>
                        <version>${flex.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <version>${flex.version}</version>
                        <type>pom</type>
                </dependency>

                <!-- Flex unit test -->
                <dependency>
                        <groupId>com.adobe.flexunit</groupId>
                        <artifactId>flexunit</artifactId>
                        <version>0.85</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>

        </dependencies>

</project>


Thanks for a great project, keep up the good work VELO!

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

Reply via email to