Hello
I make this hype document with swipe a symbol’s timeline.
This is my code, it work perfectly when I click on a button call this javascript but it does not work when I swipe left or right ( with an iframe on background).
Swipe left or right work perfectly if it has not iframe.
I dont know the way to keep it working when I put an iframe behind.
currSymbolInstance = hypeDocument.getSymbolInstanceById(‘symbol1id’);
currTimeLineName = ‘slidetimeline’;
if(currSymbolInstance.currentTimeInTimelineNamed(currTimeLineName) == 0){
currSymbolInstance.continueTimelineNamed(‘slidetimeline’, hypeDocument.kDirectionForward);
}else{
currSymbolInstance.continueTimelineNamed(‘slidetimeline’, hypeDocument.kDirectionReverse);
}
Help me please.