PDA

View Full Version : How I can reduce my Flex Chat application size?


kamal
11-13-2008, 09:28 AM
Hi all,
I have developed a Chat application using Flex and XIFF API. The XIFF API size is around 500 KB. I am not using all the Packages that are coming with that XIFF. I need the basic chat functionality only . Now my chat application size is around 400KB(in release mode). Is there any way that I can reduce the Chat application size , so that it will loads to the client machine quickly.

Thanks in Advance
Kamal

Peter Cowling
11-13-2008, 01:13 PM
Hi,

Modules are probably the single biggest opportunity for most applications.
Embedded assets really need to justify their inclusion.
You can separate the flex framework from your main .swf, but whether this is a nett benefit needs looking into on a case-by-case basis, IMO.
Do not use extra layout containers - like HBox and VBox - when you could just use Canvas. Do not use Canvas when you could use UIComponent, and so on.
Develop a nice preloader, as that buys you a couple of extra seconds.