Please Help, Sending variables to flash through the html tags

Hello to all,

I need some help folks. I’m a designer and I’m having a hard time figuring out something in action script. Any help would be greatly appreciated.

Ok, here it goes.

I have a .swf file that consists of a list component and a video player.

The list component gets populated with an xml file that looks something like this.
[COLOR=RoyalBlue]
<?xml version=“1.0” encoding=“UTF-8”?>
<videoclips>
<flv src=“crookedHouse.flv” caption=“Crooked house”/>
<flv src=“lake.flv” caption=“Lake”/>
<flv src=“roofline.flv” caption=“Roof line”/>
<flv src=“shambles.flv” caption=“Shambles area”/>
<flv src=“bricklayer.flv” caption=“Brick walls”/>
<flv src=“church.flv” caption=“Church”/>
</videoclips>

[COLOR=Black]when the list gets populated you can click on the list item to play each movie.

The action script in the .swf starts of like this to load the xml file.

[COLOR=RoyalBlue]var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
var rootNode:XMLNode;
var videoXML:XML = new XML();
videoXML.ignoreWhite = true;
videoXML.onLoad = loadCombo;
videoXML.load(“video2.xml”);

[COLOR=Black]I want to use a query string in the html to be able to change the xml file to be loaded.

So if I did this in the html.[/COLOR][/COLOR][/COLOR][/COLOR]
[COLOR=RoyalBlue]<param name=“movie” value=“FLVPlayer.swf?video3.xml” />
<embed src=“FLVPlayer.swf?video3.xml” quality=“high” pluginspage=“http://www.macromedia.com/go/getflashplayer” type=“application/x-shockwave-flash” width=“300” height=“200”>[/COLOR][COLOR=Black]It would load the video3.xml file that has a different set of videos.

What do I have to do in my action script to achieve this. Please, please help I can’t find anything.

Thank you!
[/COLOR]