Hello,
I would like to pause a timeline of a symbol + go to the start of another timeline (of the same symbol) by clicking on a button that is outside the symbol => so I don't have access to the symbol's timelines unless I add a javascript function.
I tried this function when clicking the button:
function test(hypeDocument, element, event) {
hypeDocument.getSymbolInstanceById('idofthesymbol').goToTimeInTimelineNamed(0, 'nametimelineinthesymbol');
hypeDocument.getSymbolInstanceById('idofthesymbol').pauseTimelineNamed('nametimeline2inthesymbol');
}
But it doesn't work, why?
Thank you in advance for your help