Alex -
Thanks for your help, but the scripts you sent, while no doubt seemingly
simple to you, are too complex for me to understand without spending
more time than I have working my way through a basic understanding of
this approach.
You sent a more simple solution which had the limitation of running at
varying speeds on different machnies. I think you would find that that
would also be true with the more complex version, as the panos I am
selling are large, and displaying them takes time, so slow machines
display the frames slowly, fast machines quicker, regardelss of the code.
So I would like to start with the more simple behavior:
----------------- behavior
property pCurrentPan
property pIncrement, pCounter
on roboPan me, panCrement, repeatTimes
pIncrement = panCrement
pCounter = repeatTimes
if voidP(pCurrentPan) then pCurrentPan = the pan of sprite (me.spritenum)
(the actorlist).deleteOne(me)
(the actorlist).add(me)
end roboPan
on stepframe me
pCurrentPan = pCurrentPan + pIncrement
the pan of sprite(me.spritenum) = pCurrentPan
pCounter = pCounter - 1
if pCounter < 1 then (the actorlist).deleteOne(me)
end
------------------
I am not familiar with the syntax for writing the calling procedure for
such a behavior. I can't seem to get the variable values input in the
right way, so if you could write the equivalent of behavior 3 in the
sample you sent me for the above behavior I would most appreciate it.
Thank you.
Paul
[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!]