Jump to random time in timeline

Someone asked via email about rolling a dice to show a random number. Here’s a quick example of this:

var timeBetween1and5A = Math.floor(Math.random() * 6) + 1;
hypeDocument.goToTimeInTimelineNamed(timeBetween1and5A, 'Main Timeline')

dice-roll.zip (16.1 KB)