PDA

View Full Version : application size


thipperudra
04-26-2004, 10:02 PM
Hi Antun,

I have one doubt, is it increases the size of the application,if i use more images(JPEG image files which are high resolutions with big file size).If it is true ,what propotionate application size will increases,how can i minimize the size of application by using more high resolution images.

Thanks
Rudresh

antun
04-27-2004, 08:12 AM
If you include images at compile-time, then the initial application size will be larger. However, if you use setSource() to load the images at run-time, those images will not affect the initial application size.

It depends on your application. You will probably want to have most of the images that make the framework of your application load at compile time, so that the app displays correctly at first. Then if you have images that may or may not be used you might load them at run-time.

You can also use GIF, PNG and SWFs for resources.

-Antun