> I tried > > on x > end > > and called it with: > > x() > > And it worked! > > However I am sure there must be something wrong with it. > There must be a reason for the "me" after all.
You need the "me" if you're going to refer to that object or sprite at all. Mouse events and the like need "me." In general, I would very, very strongly advise you NOT to use 'x' as a handler name. It makes no difference in execution time, because the names are tokenized. Any time savings you would see by using it would be more than offset by the next poor sucker who tries to maintain your code. And that next poor sucker may be you, six months from now. Use meaningful variable and handler names. It's THE first rule of reusable programming. Cordially, Kerry Thompson [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
