<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16448" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I hope you are not tired of me posting about this, 
but I'm determined to understand what I'm doing wrong, and that means I'm 
pounding away, searching and not able to fix it or find what the problem 
is.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've written the class to make the .gif move.&nbsp; 
Now, this did work (to a point) when I was writing it as more of a script. I 
could get the .gif to move from one place to another, only to start at the same 
place again.&nbsp; That is why the class became important, because I don't 
believe in globals. With my latest changes I get an error.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've attached the latest code.&nbsp; The problem is 
at the bottom where I'm trying to bind an event to &lt;Button-1&gt;.&nbsp; This 
is the error message I get:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>Exception in Tkinter 
callback<BR>Traceback (most recent call last):<BR>&nbsp; File 
"C:\Python25\lib\lib-tk\Tkinter.py", line 1403, in 
__call__<BR>&nbsp;&nbsp;&nbsp; return self.func(*args)<BR>TypeError: unbound 
method direction() must be called with Images instance as first argument (got 
Event instance instead)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I've done some searching in the Greyson book 
(finally downloaded it) and can't seem to see what's wrong.&nbsp; I also did a 
search on the 'TypeError:' &nbsp;which I find funny because I thought Python 
wasn't strongly typed.&nbsp; But I suppose that this is a simple error that one 
of you incredibly bright people will look at and I will respond with a 'Doh' 
(and a slap to the forehead). At least I hope so!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>T</DIV></FONT></BODY></HTML>