Hi Kelvin,
Turned out I was using the Person object instead of the
ResultsSet
object. Once I swapped it over it worked perfectly! Cheers
mate.
Jassa
Kelvin Luck wrote:
> Hi,
>
> How does your onPeopleGetPublicPhotos function look? It
should accept
> two arguments - a Person and a ResultsSet (
> http:/
/flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/
flashr/core/FlashrResponse-as.html#com.kelvinluck.flashr.cor
e.FlashrResponse.onPeopleGetPublicPhotos
> ) - which are you trying to use.
>
> It is expected behaviour that all of the photos that
you retrieve
> information about are stored on the relevant Person
object so if you are
> using this to get the list of photos it would be
expected that it now
> contains more photos.
>
> However, the ResultsSet should always just contain the
photos that have
> been returned by the latest call. So it sounds like
that is what you
> want to be using?
>
> Let me know if that makes sense or if it is the
ResultsSet which is
> containing more photos than you asked for (which would
be a bug),
>
> Cheers,
>
> Kelvin
>
> Jassa Amir-Lang wrote:
>
>> Hi all,
>>
>> I'm fairly new to Flashr and I've hit a wall with
some paging issues. It
>> sounds simple and in theory should be but I can't
get it to work!
>> Basically, I want to display a certain amount of
images per page and
>> then have next/prev buttons to go through the pages
of thumbnails. At
>> the moment I'm calling the following which is
working fine:
>>
>> public static function initLoadLib(userNsid, page)
{
>>
Flashr.getFlashr().peopleGetPublicPhotos(userNsid,null,3,pag
e);
>> }
>>
>> This loads 3 photos of whatever page I specify when
I call the function.
>> It works a treat the first time but as soon as I
call it again it seems
>> to cache whatever images were called in the first
time because the array
>> it spits out the second time round has six photos
in it, not three. Can
>> anyone help me out here? It's driving me just a
little crazy ;) Even if
>> you shoot through some example code I should be
able to figure it out.
>>
>>
>> Thanks!
>> Jassa
>>
>>
>> _______________________________________________
>> Flashr mailing list
>> Flashr osflash.org
>> http://osflash.org/mailman/listinfo/flashr_osflash.org
>>
>
> _______________________________________________
> Flashr mailing list
> Flashr osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org
>
>
_______________________________________________
Flashr mailing list
Flashr osflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org
|