I am not finding much help with the "setscriptlist()" method.
I have a bunch of text members I can bring to the stage, and I want to
attach the same behavior to all of them. This behavior will take the name of
the castmember and assume there is a marker in the movie with that name. It
will be sort of a dynamic table of contents. I need a few simple examples of
setscriptlist to see if I can pull this off.
So far the most dramatic thing I have been able to acomplish with the script
was to crash Director. B^)
pmymovie = gcurrentarea[1]
repeat with i = 0 to 30
pmy = i
pmytarget = sprite(i).member.name
-- sprite(i).setscriptlist([[(member("GoMyMarker"),[#my: pmy, #mytarget:
pmytarget, #mymovie: pmymovie]]])
end repeat
[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!]