Preloading videos for later presentation

I have used LoadMovieIntoTexturesDemo.m to pre-load a video. Can anyone give advice on how to save that preloaded video for later use? I would ultimately like to pre-load a number of videos and then play them later (using code from SimpleMovieDemo). If I play them directly, the videos are sometimes choppy. This is the type of code I was thinking to preload, but this doesn’t work:

for i=1:10
stimFname=imageNames{i};
moviename=stimFname;
LoadMovieIntoTexturesDemo(moviename);
movie_All{i}=movie;
end;