Recently, performance tuning is being implemented in the project. Our game front-end is developed using Flex. dynamic loading is used for image loading, and the flex image component is used directly, reference the relative path of an image. No problems were found during the Intranet test, and then deployed to the internet environment. It was found that the Front-End Interface loading was unfriendly and the images were displayed one by one. The user experience is not good.
To solve this problem, we decided to package resources into SWF and divide SWF by modules. There are many methods to package resources into SWF. Because you are familiar with Java, you can use Java to package resources. So I found out the omnipotent Google, and pulled it to an open-source project called Swift-tool.
Swfit can help you package images, fonts, sounds, binary data, and other resources into a SWF file (or SWC file). You can dynamically load and access these resources at runtime, shares databases during runtime to reduce master applicationsProgramVolume and download acceleration. Swfit is a free Java development tool, so you need to install the Java Virtual Machine to use it ......
You can use this link for details. Http://code.google.com/p/swift-tool/