[Flashr] destroy a photosSearch ?

Kelvin Luck kelvin at kelvinluck.com
Tue Nov 7 15:30:32 EST 2006


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/core/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



More information about the Flashr mailing list