Passing Flash Vars and PHP
I want to read in the objID into flash. Where am i going wrong with the code below.
Link i want to read the data from and pass to flash.
http://www.freesurveybuilder.com/qui...95120311102009
Code:
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<table width="90%" border="1">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="86%"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://macromedia.com/cabs/swflash.cab#version=6,0,0,0"
ID=flaMovie WIDTH=700 HEIGHT=300>
<PARAM NAME=movie VALUE="quiz.swf?<?php echo(urlencode($objID));?>">
<PARAM NAME=quality VALUE=medium>
<PARAM NAME=bgcolor VALUE=#99CC33>
<EMBED src="quiz.swf?objID=<?php echo(urlencode($objID));?>"
bgcolor=#99CC33 WIDTH=700 HEIGHT=300
TYPE="application/x-shockwave-flash">
</EMBED>
</OBJECT>
</td>
<td width="14%">adds here</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</table>
Flash object code