Actions to other hotspot children: Active States
Posted: 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?
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?