Assign class names to the elements in the Identity Inspector, for example I am using myClassName
Use this code to hide all elements with that class
var elements = document.getElementsByClassName("myClassName");
for(var i = 0; i < elements.length; i++) {
elements[i].style.display = "none";
}
You’ll need some code that will specifically show the box in question (in this example, it simply has an ID of myElementId but there may be other ways you want to figure this out):
var elementToShow = hypeDocument.getElementById("myElementId");
elementToShow.style.display = "block";
Note that since this is in the JavaScript category of the forums this is the coding answer, but depending on your needs you might instead want to use Relative Keyframes. You’d basically make one timeline that is a “reset” and changes things back and then can run another timeline that shows/animates what you want.