Threaded Image Loader?

So I have a movieIn top with its source referencing a file path from a (folder op → select op). The select op index parameter is randomly chosen at a regular interval via a timer. My patch seems to stutter every time I change the image via a new index / new pic being chosen.

Is there a way to make this switch and reload the movieIn top on another thread to avoid the stutter?

The movieIn top isn’t visible in the final comp when I make the switch but it still stutters.

Hi,

before changing the index, turn off play and then run

op('myMovieFileIn1').preload() 

which will load the image in the background. You can test if the image is fully loaded by checking:

op('myMovieFileIn1').isFullyPreRead

Once preloaded, turn the Play parameter back on.

More of the available Methods can be found here: derivative.ca/wiki099/index … nTOP_Class

Does this help?
Best
Markus

Oh man, this is an amazing response! Thanks so much for your help!