This content has been marked as final. Show 4 replies
Yes it is possible to divide the application into multiple SWFs. You can have a main SWF file which loads other SWFs when they are required.
You can use the SWFLoader (mx.controls.SWFLoader) component to load a SWF from within the main Flex Application.
Flex SDK Development Team
In 1.5 it is mx:Loader.
Also, build the app using containers that support deferred instantiation. These include ViewStack, Accordion, and tabNavigator. Be sure you do NOT set creationPolicy="all" this will defeat the purpose.
Also here is a link to an article on improving performance in 1.5:
Thanx for your reply !
yes i want to create similar look.I have two questions regarding this
1) I have little idea that we can acheive such look by using creationPolicy = "queued" , my question is ..........suppose we are using a tabNavigator with 4 tabs and in each tab we have set creationPolicy="queued" . we are using mxml custom components of each size 20 Kbs. First time either only first view will be loaded on the client side(size 20 K) or all 4 views(size 80 K) will be loaded. It is really important becuase I want to reduce initial startup time.
2) How we can use such component which show size of contents downloaded ( as used at http://www.merhl.com/
). any sample code ?
thanks once again !