hi, i am trying to create cross references(internal links) within a document, so when the link is clicked it takes you a page (like a glossary), with a specific text and header block surrounded by an invisible linkbox. i want to change the appearance of the link box from invisible to visible (on the glossary), then when the link is clicked it turns the visibility off and goes back to page with the original link reference.
getField("glossary_target_1").strokeColor = color.red;
Where "glossary_target_1" is the name of the button in the glossary that you want to affect.
And in the button's Mouse Up action, it can reset its border color:
event.target.strokeColor = color.transparent;