dmn! ok i forgot to mention a detail in my last post.
Prepare frame DOES work for that script. The problem comes in where I have
a button that will jump you to the frame BEFORE the frame in question. After
you have jumped there, and it encounters the on prepareframe handler, I get
the error, saying that the tell target line has an invalid parameter.
But if you DON'T jump there, and just get there through the regular movie
playback, it works fine. I have tried jumping to the frame itself and
jumping to the frame before it, but both give the error.
OK at this point I'm sure this sound utterly confusing, so I don't really
count on much feedback but I did need to clarify.
thanks. script is pasted again below.
nj
----------------
on prepareframe me
global gturn-- the turn of the current player
global gspot-- a list containing the positions of the player pieces
repeat with i=1 to (gspot.count)--the number of players who have spots
on the board
q=string(i)
m= gspot.getat(i)--gets the position of the piece
sprite(2).telltarget("_root.marker"&q)
sprite(2).gotoframe(m)
end repeat
end
on exitframe me
go to the frame
end
--tia
-nj
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]