Page 1 of 1

Actions to other hotspot children: Active States

Posted: Thu Oct 13, 2011 7:05 pm
by JoshW
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?

Re: Actions to other hotspot children: Active States

Posted: Fri Apr 17, 2020 3:23 pm
by pDoe
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,

Re: Actions to other hotspot children: Active States

Posted: Sat Apr 18, 2020 10:56 pm
by Hopki
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,