> tk.mainloop() seems to be not in the right place. But the gif will not > be shown, when I eliminate this line. Do the other window elements work? I tried your code without the canvas and it worked fine without the tk.mainloop() line. What exactly happens? What happens if you leave the line in but delete the root.mainloop further down? Alan G.