[Flashr] destroy a photosSearch ?
Andreas Weber
webweber at motiondraw.com
Thu Nov 9 08:13:10 EST 2006
Kelvin,
Thanks for your swift reply!
I'll gladly give Flashr 0.5 a try during the weekend.
Thanks again for releasing this great tool!
--------------
Andreas Weber
-----Original Message-----
From: Flashr-bounces at osflash.org [mailto:Flashr-bounces at osflash.org] On
Behalf Of Kelvin Luck
Sent: Dienstag, 7. November 2006 21:31
To: Flashr at osflash.org
Subject: Re: [Flashr] destroy a photosSearch ?
Hi,
Glad you like Flashr :)
If you are using Flashr 0.5 (currently available from here:
http://flashr.kelvinluck.com/assets/0.5/ ) then you can use the
Flashr.cancelCurrentRequest method:
http://flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/flashr/cor
e/Flashr-as.html#com.kelvinluck.flashr.core.Flashr.cancelCurrentRequest
This can't actually stop the traffic caused by the request because the
request has already been made but what it does is makes Flashr
internally ignore the response.
Hope this helps,
Kelvin :)
Andreas Weber wrote:
> Hi list!
>
> First time that I use Flashr and I love it!
>
> Here's my little problem:
> Inside a MovieClip I let the user enter a search term, make a search
> and display the found thumbnails in a gallery for further processing.
>
> The problem is when the user makes a second search before
> FlashrResponse.onPhotosGetInfo has received all results of the first
> search
> - let's say he first searched for 'dog' and now, before all results have
> come in, he searches for 'cat':
> In the FlashrResponse.onPhotosGetInfo I still get the remaining 'dog'
> results before receiving the 'cat' results.
> I tried _flashrResponse.destroy(); without success. Even completely
> unloading the clip and creating a new instance does not solve it.
>
> Any ideas?
>
> TIA!
>
> Andreas Weber
_______________________________________________
Flashr mailing list
Flashr at osflash.org http://osflash.org/mailman/listinfo/flashr_osflash.org
More information about the Flashr
mailing list