Thanks for the suggestions, everyone. Of course I felt like an idiot when I
realized I was starting my loop with 0, but I still can't get the thing to
work.

Here is the latest incarnation:

  pmymovie = gcurrentarea[1]
  repeat with i = 1 to 30
    pmy = i
    pmytarget = sprite(i).member.name
    plist = "[#my: " & pmy &", #mytarget: " & pmytarget & ", #mymovie: " &
pmymovie & "]"
    put plist
--    sprite(i).setscriptlist([[member("GoMarkerOfMovie"),"[#my: " & pmy &",
#mytarget: " & pmytarget & ", #mymovie: " & pmymovie & "]"]])
--    sprite(i).setscriptlist([[member("GoMarkerOfMovie"),plist]])
--    sprite(i).setscriptlist([[member("GoMarkerOfMovie"),value(plist)]])
  end repeat

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.

>3)  And finally, I'm guessing from what you said in your intro that
>you really don't want the _name_ of these text members, but instead,
>you want the _text_ contained in the text members.  Unless you are
>doing something strange, the name of the members usually doesn't
>change, but you can easily change the content of the text member.
>This would allow you to make your table of contents really dynamic.
>If this is the case, then you want to change:


Actually,  I meant to use name, and it is working that way, however that
could change later.


[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