Srini,

You need to place the images with your source and use

    <view resource="filename.jpg" ... />

This will compile the resource into the SWF file.  

Unfortunately, this also makes the SWF larger (and therefore slower) but
still would be better than runtime loading.

You should also look up the resource tag.

Without knowing what you are doing now, I cannot be more specific.

HTH
Phil


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Srini Raja
Sent: Wednesday, 25 July 2007 10:47 AM
To: [email protected]
Subject: [Laszlo-user] Runtime resource loading

I have a few views which have runtime resources like images which are used
for background of the view.

Is there a way to pre-load images that are set as resource as my view looks
empty until the resources area loaded.

You can check out the LZPIX demo app where it goes to flickr to load the
images and the images are getting loaded one after another. I want to avoid
that and preload the images. Is there a way to do that?

Srini Raja

Reply via email to