global click

on mouseDown
  if click =0 then
     visibility sprite(1) = false
     clik = 1
   else
    visibility sprite (1) = true
     clik = 0
    end if
end

smothing like this.... just add a var to chek is on or off.

fabrice


mark verhoef wrote:

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

--
Zuidzijde reclamebureau
http://www.zuidzijde.nl

[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