I have a date sensitive banner I am working on. I need to hide symbols based on dates. I got this working using the API when the symbols were in the first scene. However, since the symbols have been moved to a second scene, the symbols are no longer hidden and are appearing as ‘undefined’ in the console window.
The code I’ve used to hide a symbol is:
window.parent.myhypedocument.getElementById(‘symbol-id’).style.display = ‘none’;
Is there a way of targeting this symbol from a different scene when the Hype document firsts loads?
Any help is appreciated.