Can't Change the Size of an Image on an Angle
simplsol at aol.com
Wed Oct 30 17:17:49 EDT 2013
Not sure this fits your specific situation but I've found in working with images that it is necessary to
set the lockLoc to true immediately after the changes.
On Oct 30, 2013, at 2:11 PM, Ray <ray at linkit.com> wrote:
> It seems that if I set the angle of an image whose lockLoc property is set to false I'm then unable to change the image's size.
> on mouseUp
> set the lockLoc of img "Ant" to false -- so changing the angle doesn't reduce the image's size
> set the angle of img "Ant" to 90
> put the width of img "Ant" into originalWidth
> set the width of img "Ant" to originalWidth/2 -- has no effect
> put the result into myResult -- nothing is returned here
> end mouseUp
> Does anybody have a work around for this?
> Much appreciated,
> Ray Horsley
> LinkIt! Software
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode