[Flashr] only one request at a time?
H. S.
docstorm at gmail.com
Wed Aug 30 12:16:54 EDT 2006
Hoi
I've checked out the FlashrSimpleSearch and now made my own code
using - not as in the sample files - v4. After I get my search
results I perform a photosGetSizes for every photo...
private function onPhotosSearch(p:Array, rS:ResultsSet):Void
{
trace('Number Results: '+rS.photos.length);
for(var i:Number = 0; i < rS.photos.length; i++)
{
flickrConnection.photosGetSizes(rS.photos[i].id);
}
}
private function onPhotosGetSizes(p:Photo):Void
{
var photoSizes:Array = p.getSizes();
trace('---- '+p.id+' ----');
for (var i:Number = 0; i < photoSizes.length; i++)
{
trace(photoSizes[i].height);
}
}
Unfortunately I get only a single onPhotosGetSizes (for
ResultsSet.photos[0]) and the others keep missing out
This is traced:
Number Results: 20
---- [someid] ----
75
100
240
500
978
Any ideas?
Thank you in advance.
(Sorry Kelvin, I did sign up to the mailing list but I took the wrong
email-address)
Holger Storm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/flashr_osflash.org/attachments/20060830/2b0f602d/attachment.htm
More information about the Flashr
mailing list