"David Parker" <[EMAIL PROTECTED]> wrote
> plist looks the way I think it ought to.
> the third line caused a fatal error and the other two evoked protests of
> periods in symbols not being allowed.
I've only just got Director8, but I did try setscriptlist and I also got
the 'periods in symbols' error message. I was too tired to dig into it,
but I think there may be a bug.
I've also got setscriptlist to work with simple examples.
Looing through your code, and testing a simplified version, I noticed
immediately that you are missing some quotes inside your constructed
scriptlist.
Try this instead:
pmymovie = gcurrentarea[1]
repeat with i = 1 to 30
pmy = i
pmytarget = sprite(i).member.name
plist = "[\
#my: " & pmy &", \
#mytarget: " & quote & pmytarget & quote & ", \
#mymovie: " & quote & pmymovie & quote & "]"
sprite(i).setscriptlist([[member("GoMarkerOfMovie"),plist]])
end repeat
Works for me!
--
_____________
Brennan Young
Artist, Composer and Multimedia programmer
mailto:[EMAIL PROTECTED]
"The devotee believes that Krishna appears when his name is called. The
guru understands that Krishna appears in the spaces between the name calling."
-Swami Wassermann
[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!]