Well you could erase the part about while the mousedown, if you just want
the child to go one by one, the following should work:

 on mouseDown me
     go to the frame + 1
 end

if, on the other hand, you want the child to be able to move JUST one frame
no matter how many times he has pushed the button, you should erase the
behavior from the button sprite when you click on it, thus allowing the
child to click as many times as he wants, start a timer , say for 5 secs,
and then reattach the behavior to the button sprite. This is the only way i
can think of right now for avoiding multiple clicks resulting in multiple
jumping from one frame to the next. Other thing is change the "next" button
between one frame and the next, but this could be a little confusing,
especially if we´re talking children as end users.
Diego Landro

----- Original Message ----- 
From: "Michael Nadel" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, October 06, 2005 3:23 PM
Subject: <lingo-l> stopping multiple clicks


> I have a simple behavior on an arrow that the child needs to click to go
to
> the frame + 1.
>
> It says:
>
> on mouseDown me
>     repeat while the mouseDown
>     end repeat
>     go to the frame + 1
> end
>
> But if the child clicks the arrow let's say 10 times in a row, it will
> continue going from frame to frame for ten frames. Is there a way to stop
> after one frame, even if the child clicked 10 times?
>
> Thanks!
>
> Michael Nadel
> MediArt.Corp
> "Creativity is more powerful than knowledge" -- Albert Einstein
> ***********************************************************************
> Tel: (972-2) 5807-454
> Email: [EMAIL PROTECTED]
> Web: http://www.mediarthome.com
>
>
> [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!]
>


[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!]

Reply via email to