TiledBackground object has "Load image from URL" action, you don't need scripting.
This will however replace the image in all instances of this object.
Heya! Yeah I know, however my game is for android, and I'm not sure this will work without connection ^^U