Getting a variable from a php page?

I’m completely new to php and loadVars and all these things, so I don’t know what information about these things is relevant…

Here’s what I need help with:

I have created a video player interface which loads external flv’s. Now I’d like to integrate this into a live site, a site that I have not built myself.

There will be a list of clips on the page, the list is taken from a mySql database and displayed with info, a thumbnail and a link. When you click the link, a popup window is supposed to be launched and in it the video clip will be played inside my player.

I will need to get the filename into flash somehow… This is my problem.

I hope someone knows what I’m trying to explain… C:-)