Creating a movie player programmatically

Hi Everyone

I am running into an issue when playing movies back to back, at random points when a movie begins, sometimes if flashes the last frame of the previously played movie. I don’t believe there is anything to clear the contents of the movie player before allocating a new movie and playing it, so I though the solution would be to create a movie player programmatically every time so that there are no previously cached frames. Is there a way to do this?

Put a MoviePlayer on a Container Control and then you can call the EmbedWithin method to put a new one on the window each time.

Nice. How do you access the movie player within the container control though. Thanks again.

Never mind, easy enough. Thanks for the idea.