Package resources into SWF files in Java

Source: Internet
Author: User

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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.