Thanks Enrique, I understand, but I guess I wasn't clear enough. I want to
call a handler that is in a movie script.
sendSprite will only send a message to scripts *attached* to that sprite. I
think :o)

Blessings Darryl


----- Original Message -----
From: Enrique Nivasch <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 12:43 PM
Subject: Re: <lingo-l> handler/button/getPropertyDescriptionList


> Try the following code
>
>
> Enrique


I wrote:

Hello List,
I hope someone may advise me here.
I've tried to make a button behavior which includes in the
getPropertyDescriptionList:
<code>
pList[#pHandler] = [  \
  #comment: "calls this handler",  \
  #format: #string,  \
  #default: "myAlert"]
</code>

and then:
<code>
on mouseUp
  put value(pHandler)
  put "value(pHandler) = " & value(pHandler)
  value(pHandler)
end mouseUp
</code>

Message window displays:
<snip>
--#myAlert
--"value(pHandler) = myAlert"
</snip>

Error window displays:
<snip>
Command not defined
</snip>

Why is the handler myAlert not called? I've done a hunt around
director-online etc but haven't found an article dealing with what I'm
trying to do here. I'm sure someone will know how to make a behavior like
this.

Blessings and thanks in advance, Darryl



[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