Hi Jacque, "But for image objects it isn't needed, and you can omit that instruction." Actually it was the only way to get the script to work on mobile when I actually put it on my device. You are correct in that aside from the small errors the code should run perfectly. I figured it had something to do with coming out of the photo library.
The first time you add/change the photo it works as it should but if you decide that you don't like that photo and try to change it then it gets all frumpy and throws all it's toys out of the cradle -set the filename of image "imageField1" of this card to ""- does the trick. One other improvement I found set the loc of the templateImage to -10000,-10000 Makes it very slow in coming out of the photo library set the vis of the templateImage to false Is much much faster. Both of these things are mobile related only. Or... it's just me. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680640.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode