How to use timer to load images into display block after it''s content has been cleared?

Take the following simple mashup... A [Timer] connected to a [Live Image Search] (query: "birds", count: "9") which finally connects to a [PhotoTiles] display block.

How would you go about clearing the [PhotoTiles] block of all its content on the [Timer]'s tick so that the number of items in it never exceeds 9? I've tried manipulating the various result arrays, calling initialize() and such but nothing "good" happens. It seems to me that all the display blocks are missing some "clearItems()" and "removeItem(item)" functions? Is it just me who's missing these functions?

Kind regards,
Johannes Hansen
frontAvenue A/S

[706 byte] By [JohannesHansen] at [2008-1-9]
# 1
Thanks for the post, unfortunatley your right, most of the display blocks don't have functions to remove items a few of them have a max items setting which will remove old ones when new items are added past the limit.

There might be a way of doing it, which involves a bit more javascript work, will have a look at on Tuesday when we're back in the office Smile.

AndyS at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 2

Thanks for the reply... Looking forward to see if you find a solution.

JohannesHansen at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 3
Sorry for being slow in getting back to you, I haven't had a chance to look into this yet :-(. Will make sure I get time tomo.
AndyS at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 4

Don't worry about finding a solution... Its really not that important to me. I just wanted to confirm if it was a general problem or not. And it seems that people are already aware of it so take it easy and forget about the solution for now. Enjoy your weekend! Smile

JohannesHansen at 2007-10-3 > top of Msdn Tech,Popfly,Popfly General Discussion...