"squirreltown" wrote:
So the solution to my issue here seems to be not re-using the request variable name. Making it an array of variables allows the downloading of all 10 images.
so this
requestpic[i] = CreateObject("roTextureRequest" , URLL+motionlist[i].GetName())
instead of this
requestpic = CreateObject("roTextureRequest" , URLL+motionlist[i].GetName())
perhaps someone with Roku in their name can explain why you can re-use it 5 times and no more.
That would have become more obvious if you'd seen the GetState() value of 4 (Cancelled), as it would have indicated that it'd gone out of scope...
😉You're getting five because that's how many are able to process before the garbage collector cleans them up. Once the garbage collector runs, all of the outstanding requests get cancelled and killed off. The fact that it's five is likely irrelevant, and is just dependent on when the garbage collector does its thing (probably triggered by the creation of the tenth request or something).
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)