Skip to main content

Posts

Showing posts from 2013

How to fix Chrome frozon issue when loading applet?

I suffered a lot by chrome when embedding the applet into page during these days. Fortunately, I figure out what the tricky parts of it:) 1) Firstly, we need get rid of all security issues which should be addressed by jarsigner with the following MANIFEST.MF Manifest-Version: 1.0 Application-Library-Allowable-Codebase: * Caller-Allowable-Codebase: * Codebase: * Permissions: all-permissions Archiver-Version: Plexus Archiver Application-Name: XXXXX Build-Jdk: 1.7.0_45 Built-By: lzheng Created-By: Apache Maven 3.0.4 Here is the reference for all applet jar manifest:  http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html If you know nothing about jarsigner, the chrome frozen issue is out of your ability to resolve it:) 2) After that, the code work perfectly on firefox but randomly freeze the chrome browser which depress me a lot. Is it a chrome issue? yes and no. Chrome just didn't handle the exceptions correctly when we call applet method...

Flex4 Parsley Maven Project

I had converted the parsley from ant to manve build for my project usage. The new version is already here:  https://github.com/LeiZheng/parsley-pom mvn clean install -DskipTests to execute the build. The generated swc files will be ${base.dir}\target

Using flexmojos 6.0.1 compile FDK 4.10.0 code (2)

General Error: 1.  Unable to Resolve Resource Bundle   Solution:  Open you flex builder, check the acutal *_rb.swc files used in build path. Try to add them one by one to see if the work reduce the error number. For mine: Error: Unable to resolve resource bundle "components" for locale "en_US". Error: Unable to resolve resource bundle "components" for locale "en_US". Error: Unable to resolve resource bundle "skins" for locale "en_US". Error: Unable to resolve resource bundle "core" for locale "en_US". Error: Unable to resolve resource bundle "core" for locale "en_US". Error: Unable to resolve resource bundle "effects" for locale "en_US". Error: Unable to resolve resource bundle "styles" for locale "en_US". Error: Unable to resolve resource bundle "components" for locale "en_US". Error: Unable to resolve re...

Using flexmojos 6.0.1 compile FDK 4.10.0 code (1)

pom.xml 1. define property:     <flex.sdk.version>4.10.0.20130801</flex.sdk.version> <flex.mojos.version>6.0.1</flex.mojos.version> <flex.playerglobal.version>11.8</flex.playerglobal.version> 2. pluginManagement                                    <plugin>  <groupId>net.flexmojos.oss</groupId>  <artifactId>flexmojos-maven-plugin</artifactId>  <version>${flex.mojos.version}</version>  <extensions>true</extensions>    <configuration> <swfVersion>11</swfVersion>    <fonts>    <managers> <manager-class>flash.fonts.JREFontManager</manager-class> <manager-class>flash.fonts.BatikFontManager</manager-class> ...