[Flashr] Question regarding Flashr Viewer-esque application

Jared Sadoian sadoian at mit.edu
Tue Aug 12 20:22:29 PDT 2008


Hi Kelvin,

Thanks for the response! Actually, I figured out what I was doing wrong -
using the [group].getPhotos method did not work as I had thought, and so
after changing it to more closely follow the behavior of your Barcamp
tutorial (using the ResultsSet object to get photos), things worked out just
fine.

Thanks again for the wonderful API, in the end it will make our website so
much easier to deal with, update, etc. Excellent work!

-Jared


On Tue, Aug 12, 2008 at 11:18 PM, Kelvin Luck <kelvin at kelvinluck.com> wrote:

> Hi,
>
> Sorry for the slow reply - I'm on the road in Canada at the moment...
>
> >
> > I have this section set up where there are a number of sub-sections,
> where
> > each section, when loaded, will load a different set of images, based on
> > their tag. When the movie initially loads, the first set of images come
> > through just fine, however, once I click another link, Flashr will make
> two
> > calls to the onGroupsPoolsGetPhotos function (and on another it click it
> > will make three calls, and so on, etc). This seems to be OK until I reach
> a
> > tag that finds fewer photos than the one before it, in which case the
> photos
> > from another tag will be pulled in as well.
>
> I haven't downloaded your code but it sounds like you are creating a new
> FlashrResponse when each link is pressed. Every FlashrResponse will receive
> the callbacks from any Flashr call. So you should try to ensure that you
> only create one FlashrResponse object and that in the on* calbacks you
> somehow distinguish which call was made (if nececessary you can use
> resultsSet.request in your onGroupsPoolsGetPhotos callback...
>
> Hope that helps,
>
> Kelvin :)
>
> _______________________________________________
> Flashr mailing list
> Flashr at osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/flashr_osflash.org/attachments/20080812/da229f3f/attachment.html 


More information about the Flashr mailing list