Hi People. I'm hoping someone might be able to help me here.

Here's my scenario:
I have a swf file on my page that loads an flv video.

At current, its working fine, but the actionscript within flash is not dynamic, therefore the video is always the same.

Here's what I'm trying to achieve:
I want to be able to attach a query at the end of my swf eg. myflashfile.swf?id=1.

I can do that dynamically in php, and i can generate the correct id when needed, thats not a problem. What is the problem is how I actually retrieve this variable in flash and how i set up a variable in flash, so that it will always display the correct video depending on its id.

If anyone can help, I would be extremely appreciative. I've been working with flash for quite a bit of time, however I've only really used it for animation, only getting into AS, and dynamic AS now.

Many thanks in advance,

Rapidz.