try this

----------------------------

property flag

on beginsprite me
    flag=false
end

on mouseDown me
    flag=not flag
end

on enterFrame me
    if flag then
        go to the frame +1
    else if not flag then
        go to the frame
    end if
end

-------------------
put the above script in a behavior and attach the behavior to a button




----- Original Message -----
From: "Angela Johansson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 7:29 AM
Subject: <lingo-l> How to make a pause button



I�d like to know how to make a button that you could click on and pause
my presentation.
Is it possible to use the same button to start it at the second click?

=)

Angela Johansson




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



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

Reply via email to