Image Scaling Problem

Richmond richmondmathewson at
Tue Jan 19 13:33:04 EST 2016

On 19/01/16 20:24, Mark Wieder wrote:
> On 01/19/2016 10:07 AM, Richmond wrote:
>> On 19/01/16 17:27, Matt Maier wrote:
>>> I was just researching around this idea.
>>> This says that if you want to lock the change in by script you have to
>>> set
>>> its imageData to its imageData
>>> set the imagedata of image tImageName to the imagedata of image
>>> tImageName
>> Nobody ever told me that, and I've been resizing images, locking them
>> and having
>> no further problems since 2001.
> That's for an entirely different scenario.


Are you stating that if I pop this in my messageBox:

set the locked of img "XXX" to true

it, somehow, does something 'less' than locking the image via
the properties panel?

Because, when I did that just now, saved the stack, quit LiveCode, 
restarted LiveCode,
and opened my stack again, the image 'XXX' was still at its resized size.

Please, in simple words, explain what the "entirely different scenario" is.


More information about the Use-livecode mailing list