image rescale quirk

Bernard Devlin bdrunrev at gmail.com
Sun Jul 12 05:17:29 EDT 2009


Perhaps put in a delay in your script (wait for 10 ms), or send a
message to the image to resize (also with a slight delay).  It sounds
as though running in the debugger might be introducing some delay so
that it works in the debugger.

Bernard

On Sat, Jul 11, 2009 at 11:55 PM, Nicolas Cueto<niconiko at gmail.com> wrote:
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list