Image control in a Background

Simon simon at asato-media.com
Wed Jun 25 17:51:44 EDT 2014


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.




More information about the use-livecode mailing list