[Flashr] simple search

Kelvin Luck kelvin at kelvinluck.com
Mon May 1 14:58:53 EDT 2006


Hi,

Yeah - you can load the images before you have the information about all 
the pictures. That example was originally for someone who specifically 
wanted all the information about each picture. If you don't need the 
description and tags etc for the pics then you can load the images in 
the loop in onPhotosSearch rather than calling photosGetInfo for each one.

Try adding this line:

trace(thisPhoto.thumbnailUrl);

directly after this one:

var thisPhoto:Photo = rs.photos[i];

Or if you want all the info available for each picture before you load 
it you could load each picture in onPhotosGetInfo as the information for 
that picture comes back.

Hope this helps,

Kelvin :)

Gareth Jones wrote:
> Hi,
>  
> sorry for all the questions, but just one quick one.. i am using the 
> grid from your other example.. is it possible to load each image as they 
> come or  do you always have to wait until all images have loaded?
>  
> cheers,
> G
> 
>  



More information about the Flashr mailing list