Image Offset in Frame

Alejandro Tejada capellan2000 at gmail.com
Thu Nov 16 13:20:57 EST 2017


Looks like there are two different ways to
clip an image using a group:

Method 1 using lockLocation:

1) create a new stack
2) import an image
3) set the script of this image to:
------------------------
on mousedown
grab me
end mousedown
-------------------------
4) group this imported image
5) reduce the size of this group and
6) set the locklocation of this group to true

Method 2 using clipstorect

1) create a new stack
2) import an image
3) set the script of this image to:
------------------------
on mousedown
grab me
end mousedown
-------------------------
4) group this imported image
5) reduce the size of this group and
6) set the clipstorect of this group to true

By the way, Where could I find the boolean property "clipstorect"
within the Property Inspector?

Al




More information about the use-livecode mailing list