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

Reply via email to