Querystrings and FLVs

hi everyone,

im trying to link a html querystring into my flash swf to select the appropriate video.

the links on the page are like page.php?v=filename

so when it calls the page i retrieve the querystring with:

<?php
$v=$_REQUEST[‘v’];
?>

then my swf embed code is as follows:

<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0” width=“400” height=“300” id=“video” align=“middle”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“movie” [COLOR=Red]value=“video.swf?v=<?php echo $v;?>”[/COLOR] /><param name=“quality” value=“high” /><param name=“bgcolor” value="#000000" /><[COLOR=Red]embed src=“video.swf?v=<?php echo $v;?>”[/COLOR] quality=“high” bgcolor="#000000" width=“400” height=“300” name=“video” align=“middle” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
</object>

then the code in the first (and only) frame of my flash file is:

if (v = “”){
video.contentPath=“drugs.flv”;
}else{
video.contentPath=v + “.flv”;
}

of course the flv component is called “video”

it simply does not work as you can see if you go to www.monkeyspoon.co.uk/video.php

please someone help :pirate3: