- Open your project Flex
- Right-click on the project name and select Properties.
- Select Flex Build Path from the left hand menu.
- Select the Library path tab and notice the Flex 3.x as one of the libraries in the project.
- Expand the Flex 3.x library.
- Expand framework.swc.
- Select the Link Type and click on the Edit tab.
- Uncheck Use same linkage as framework.
- Change the Link Type menu drop down to Run time shared library (RSL).
- Click OK.
- Bulid your project.
- Now, select your file .swf file and right-click on it. Select the Properties and look at the Size of the file. which is a further reduced from before. ^,^v Wow....look your SWF file siz
- By default, Flex Builder created the swf files for the projects under the bin-debug folder. All files under this folder have some additional debug information which is not required when publishing a project. We will create a release version of this application next.
- Right-click on the project name and select Export.
- Expand the Flex Builder folder.
- Select Release Build
- Click Next.
Alternatively, you can select from the main menu Project > Export Release Build. - In the dialog window that comes up, notice the Export to folder option is listed as bin-release.
- Click on Finish to create the release files.
- Now, look your SWF file size in folder bin-release....^,^v
Sunday, July 26, 2009
Building Run Time Shared Libraries For Flex Application
Labels:
flex,
flex builder,
framework,
free code,
libraries,
properties,
reduced,
release,
RSL,
Runtime Shared Library,
Size,
SWF
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment