Cache flvs?

Hi there,

I’m working on a flash projector that is an interactive video player… this means it needs to play an flv (from harddrive - not over web) and when the flv completes load the next flv to play continuously. (the next flv could be one of several possibilities - which one is decided dynamically)

The problem is I am getting a glitchy black frame between the two flvs… which must caused by the time it takes for the second flv to load into memory.

Can anyone suggest ways of preloading or caching the upcoming flvs to avoid this glitch…
the only way I can think of is to have two players, one behind the other, and to swap the visibility of the two players when the videos complete. But it is not a very elegant solution! Is there any better ideas out there?

Many thanks!