At 16:38 4.8.2000 +0200, Szymek wrote:

>send NOT sendSprite.
>
>Open Message window and write send.
>
>I have found it by mistake.

Well, a few minutes playing with the message window while running a movie 
containing several objects (in a global called MyObjects, which is a sorted 
list into which the objects are birthed) gave me a series of interesting 
error messages. Initially Director expected a symbol, then it expected an 
object.

These led me to this:

send #Green, gMyObjects[1]

which gave a "Handler not defined" error message.

Soooo, I presume that the first parameter (which trial and error shows has 
to be a symbol) is intended to be a handler name, and the second parameter 
is expected to be a pointer to an object which uses/contains the handler.

In the case above I presume that if the first item in my object list 
contained a handler "on green me" then the send command would call it.

I would test this myself except I am pushed for time right now :)

Cheers
Owen


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to