1) Why wouldn't you just remove the sprite from the frame where nothing ought to happen ? 2) Why wouldn't you ( if not 1)) in the "destination" frame remove the behaviour from the sprite ?

3) Following UI guidelance you ought to use the mouseUp event (leaving the user the opportunity to change his mind until the last possible event)

on mouseUp me
    go to the frame + 1
end

4) If you want to go to a specific frame ( and just that one) place a marker on that frame (give it a name, let's say "x")
and change your script to
on mouseUp me
    go "x"
end

hth

Bart Pietercil



On 06 Oct 2005, at 20:23, Michael Nadel wrote:

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 owner- [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