> I was thinking that I create one behavior asking for the text of the
> handler to call, then do a sendallsprites(do(stringentered))
>
> Would this be the way to go or would it be
> sendallsprites(symbol(textentered))

If you're using a gpdl for this, all you need to do is define the format as
#symbol rather then #string:
gpdl[#pMehod] = [#comment: "blah blah", #format: #symbol, default: ""]

and then
sendAllSprites(pMehod)

Also, (a bit OT), you can use the handlers() keyword: if all these buttons
are calling the same script, you can do:
gpdl[#pMehod] = [#comment: "blah blah", #format: #symbol, default: "",
#range: script ("target script").handlers()]

This way you can have a generic script controller for a _specific_ object
(rather then a totally generic button for everything), for example, a slider
controller for... a QuickTime object ;)

Karina



[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