How to toggle visibility of point hotspot with custom image

Q&A about the latest versions
Post Reply
LondonLight.org
Posts: 41
Joined: Thu May 16, 2013 11:18 am

Hi

I made a skin which uses a custom point hotspot image, following one of your guides, probably this one: http://ggnome.com/wiki/Adding_Hotspots_ ... pot_images

Everything works nice and dancy...
http://i.imgur.com/an68ivD.jpg

...except for the button which is supposed to show/hide hotspots.
I tried having "mouse click" "toggle element visibility" and "scale element" on "hsgoto", on "gototxt" and on "gotoimg". Both visiblity and scale work on any other element, but not on the hotspot elements!
Image

I even tried placing the hotspot elements inside a container "hsgotobox" and then toggling that container, still nothing.
The only difference I can think of between these hotspot elements and the other elements is that the hotspot has a hotspot proxy ID.

http://i.imgur.com/PXNQ6Xs.png

How do I make it possible to hide point hotspots which use custom images?

My skin files and XML are attached.
Attachments
pano2vr_hotspot.zip
(237 KiB) Downloaded 214 times
User avatar
JimWatters
Posts: 329
Joined: Thu Oct 07, 2010 6:16 pm
Location: Saint John, New Brunswick
Contact:

If you use a % wildcard in front of the ID it will toggle all the hotspots.

target: %hsgotobox
LondonLight.org
Posts: 41
Joined: Thu May 16, 2013 11:18 am

Works! Thank you Jim!
Post Reply