image rescale quirk

Nicolas Cueto niconiko at gmail.com
Sat Jul 11 18:55:16 EDT 2009


Hello All,

I've scripted an arrowkey handler which first
resizes a stack and then calls a function that
rescales an image on a card.

When the handler is run line by line in the
script debugger, I can see the image being
resized as expected before the handler exits.

But, in actual use, the handler will resize the
stack but not rescale the picture -- unless
I force the handler to run twice, which then
rescales the image as expected to the new
stack size.

I've tried lock/unlock screen and stack buffer
but no go.

Any ideas?

Thanks.

--
Nicolas Cueto



More information about the use-livecode mailing list