on mouseDown sprite(1).visible = not(sprite(1).visible) end mouseDown
-----Original Message----- From: Sam Bennett [mailto:[EMAIL PROTECTED]] Sent: 12 March 2002 13:32 To: [EMAIL PROTECTED] Subject: Re: <lingo-l> visible &invisible on mouseDown if sprite(1).visible = TRUE then sprite(1).visible = FALSE else sprite(1).visible = TRUE end if end mouseDown -----Original Message----- From: mark verhoef <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, March 12, 2002 9:19 AM Subject: <lingo-l> visible &invisible >Hello, >the question:I got 1 button and I got >A object on stage. >If you klik the button once,then the >object should be invisible. > on mouseDown > sprite(1).visible = false > end > >BUT when you klik again on the >same button it should be visible again. >How do I do that......... > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > >[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!] [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!]
