Actions to other hotspot children: Active States

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
JoshW
Posts: 1
Joined: Thu Oct 13, 2011 7:10 am

Thu Oct 13, 2011 7:05 pm

I have a project with 5 hotspots. Each hotspot opens a different overlay. I would like to add an active state to each hotspot so that the hotspot that matches the current overlay is a different color than the others. Every element has its own unique ID.

To do this I have two buttons as children of each hotspot. One is dark blue one is light blue. The dark blue button is in front of the light blue obscuring it.

I have an on click action to show the overlay.
I have an on click action to hide any other overlays.
I have an on click action to hide the dark blue button. This reveals the light blue button behind it.
I have an action on closing the overlay that shows the dark blue button again using the % sign in the target.

What is not working is the same action to show the dark blue button using the % sign if clicking a different hotspot.

It appears that the actions from the child of a hotspot, cannot affect the children of other hotspots. Is this correct?
pDoe
Posts: 1
Joined: Fri Apr 17, 2020 2:59 pm

Fri Apr 17, 2020 3:23 pm

I want to dig out this topic, because I'm having exactly the same problem.


I have a textbox, that is a child of a hotspot. When that hotspot gets clicked, the textbox appears. So far so good.
But now I want to make the textbox invisible, when the next hotspot is clicked. But Actions can't target children of hotspots.
This seems like a bug to me.
How can I solve this?

I appreciate any answers
Cheers,
User avatar
Hopki
Gnome
Posts: 10165
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sat Apr 18, 2020 10:56 pm

Hi,
Actions bubble up, what I mean by this is if you had two elements one a child of the other, and you had actions in both then on click both actions would try to work.
What you can do in this case is use an action filter, or use variables.
Regards,
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply