From: Alec B. <wry...@gm...> - 2008-05-10 23:13:46
|
I have a PythonCard app that creates collages from a directory of pictures. It makes a show of the process, displaying each picture as its added, about two per second, full screen. My problem is that every time a new picture is added, the whole screen flickers. This isn't really that surprising consdiering the way I'm doing it: the new image gets pasted onto a fresh canvas and then the old image (the previous frame) gets swapped out for the new image (the current frame). When this image swap happens the screen flickers a little bit, but since it happens twice per second its very distracting. Can anyone think of a way to reduce this flicker? In wx I could set something like self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM), but not in PythonCard as far as I can tell? Or some other way to do this? Thanks for any tips. |