I have been using the following syntax for quite some time for calling
methods in behaviors attached to sprites:
-- sendsprite(spriteNum, #callSomeMethod, someParameter)
It occurred to me that I call methods in child objects stored in variables
using dot syntax . So I tried the following to call a method in a behavior
attached to sprite:
-- sprite(spriteNum).callSomeMethod(someParameter)
However it produced unexpected results. How does the second differ from the
first?
Anthony
www.lifelinestudios.com
[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!]