Problems with Flashers

Richmond Mathewson richmondmathewson at gmail.com
Thu Dec 17 14:33:54 EST 2009


[ No, before you ask, not THAT kind . . .  :)  ]

I have a palette that has to be emptied as it is opened,
so I have this in the script of the button that opens
the palette:

on mouseUp
    set the lockscreen to true
    open stack "XYZ"
    put empty into fld "FEELD" of stack "XYZ"
    palette "XYZ"
    set the lockscreen to false
end mouseUp

I had hoped that until the lockscreen was set to false
end-users would see nothing; but, 'tis not so -
there is a disconcerting flash just after clicking on the button
where the stack, with the fld's previous contents are
visible for a split-second.

Of course I could empty the field prior to closing it
so that it is sitting empty for the next time it is
opened (and that is what I shall do - no time like the
present), but that is not the point.




More information about the Use-livecode mailing list