Thanks, Sean for your help.

Actually what Colin wrote was rather what I had in mind.

I'm also saving what you've written for future reference.



-Genevieve


>From: "Sean Wilson" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: <lingo-l> Buttons
>Date: Tue, 2 Oct 2001 14:51:55 +1200
>
> > I am interested to make a button invisible. Can it be done?
>
>sprite(aSpriteNum).visible = FALSE
>
>However, if you do this you need to be careful to make the channel visible
>again if you leave the span of this invisible sprite.
>
>ie.
>on endSprite me
>   sprite(me.spriteNum).visible = TRUE
>end
>
>OR
>
>move it offstage until you need it again.
>
>----------------------
>property pSprite, pLoc
>
>on beginSprite me
>   pSprite = sprite(me.spriteNum)
>   pLoc = pSprite.loc
>   pSprite.loc = point(-999, -999)
>end
>
>on appear me
>   pSprite.loc = pLoc
>end
>----------------------
>
>move it back to where it was originally with "sendAllSprites(#appear)"
>
>There are lots of variations on this approach involving perhaps grouping
>sprites together, swapping "sendAllSprites" with "sendSprite" or maybe
>"call", but the basic idea remains the same.
>
>ELSE
>
>Did you mean like Colin suggested - how to make an invisible button as
>opposed to how to make a button invisible?
>
>-Sean.
>
>
>[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!]
>


_________________________________________________________________
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/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