Hi.
I have an issue with measuring currentTimeInTimeline.
The Main Timeline is divided into three sections, with something else at the end. The first 3rd triggers timeline level1. The second level2 and the third, level3.
If you get to the end of the timeline, you are supposed to trigger level4. Not working!
The code looks like this:
if (hypeDocument.currentTimeInTimelineNamed('Main Timeline') <= 2.5) { hypeDocument.startTimelineNamed('level1', hypeDocument.kDirectionForward); } else if ((hypeDocument.currentTimeInTimelineNamed('Main Timeline') >= 2.5) && (hypeDocument.currentTimeInTimelineNamed('Main Timeline') <= 4.5)){ hypeDocument.startTimelineNamed('level2', hypeDocument.kDirectionForward); } else if ((hypeDocument.currentTimeInTimelineNamed('Main Timeline') >= 4.5) && (hypeDocument.currentTimeInTimelineNamed('Main Timeline') <= 7.9)){ hypeDocument.startTimelineNamed('level3', hypeDocument.kDirectionForward); } else if (hypeDocument.currentTimeInTimelineNamed('Main Timeline') > 8) { hypeDocument.startTimelineNamed('level4', hypeDocument.kDirectionForward); };
Please help?
Thanks.
H
CurrentTimeCheck.zip (20.2 KB)