I have a comp with time-remapping enabled, and a script to change the way the playhead scrubs, so that it will play one second from a random location in the comp and then move to another random location.
What I would like to do is make it play the random location only once, so that I essentially have a movie clip the same length as the comp, and all of the content from that comp, expcept mixed up into a random order.
Here is the random code I'm currently using as a starting point: segDur = 1;// duration of each "segment" of random time
minVal = inPoint;
maxVal = outPoint - segDur;
In other coding languages i've done similar things using an array and checking the scrubber against the times in the array, but i'm not sure how to do that in expressions, and also i think there is probably a more efficient way to do it.