Image set visible true or false with hotspot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Byte
    Forum Member
    • Jun 2005
    • 74

    Image set visible true or false with hotspot

    hi there,

    i have a image that i set visible true with a hotspot. is it possible to set it back to visible false with that same hotspot by clicking on it again or using a key like alt together with a click on that hotspot?

    byte
  • Intrigued
    Indigo Rose Customer
    • Dec 2003
    • 6138

    #2
    Example:

    Code:
    if strIsClicked then
    	Image.SetVisible("Image1", true)
    		strIsClicked = false
    else
    	Image.SetVisible("Image1", false)
    		strIsClicked = true
    end
    Intrigued

    Comment

    • Intrigued
      Indigo Rose Customer
      • Dec 2003
      • 6138

      #3
      Here is an example project using the above code:

      Intrigued

      Comment

      • Byte
        Forum Member
        • Jun 2005
        • 74

        #4
        thanks a lot for your quick reply.
        that realy helped me.

        byte

        Comment

        • Intrigued
          Indigo Rose Customer
          • Dec 2003
          • 6138

          #5
          Byte, your comment made my day and I am glad the code did the same for you!

          :yes
          Intrigued

          Comment

          Working...
          X