Change flash content through a link

I have no idea how to do this, or even where to start. Basically what I want to do it make a flash video player. When you click the video player it has links to all the other videos on the side. But if you are on another page, and you click a link to a video, say just one specific video, it will load that video when you click the link in the same flash video player.