At 09:33 AM 11/24/00, you wrote:
>I have a question. I created a rollover the other day, where my
>castmembers exchange one after the other(from 1 to 50). On mouseenter, they
>exchange forward 1 to 50. On mouseleave, they exchange backwards, 50 to 1.
>I had them working with a delay, so that each castmember could be seen.
>The script I made was used on a frame. Everything worked great, but today I
>can't seem to make it work.
Hard to tell without seeing your Lingo. If you're swapping the sprite's
member in a repeat loop, you may want to add an updateStage right after the
member swap.
Or go to a time-based method as is used in the "Cycle Graphics" behavior in
the Library Palette.
BTW, didn't I see some Lingo that does this on one of the newsgroups? Ah,
yes I did. If this is your handler (called by the mouseWithin event handler):
on Animate me
if numcycle < amount then
numcycle = numcycle + 1
sprite(m).member = myNamelist[numcycle]
end if
return
end
Then try adding the updateStage just before the 'end if'
--
Mark A. Boyd
Keep-On-Learnin' :)
[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!]