Ok, this is a little more of a PHP question than flash question, but hopefully you guys can still help. I have embedded a swf into a page using php. I want to send variables from the php page to the swf, so I have done something like this.
PHP Code:
<?
echo '<table width="242" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="242" height="242">
<param name="movie" value="http://tlgames.siteburg.com/welcome.swf?oid =' . $_oid . '" >
<param name=quality value=high >
<embed src="http://tlgames.siteburg.com/welcome.swf?oid=' . $_oid . '"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="242" height="242"></embed>
</object>
</td>
</tr>
</table>';
?>
The bold parts are what I want you to look at. In my swf I am receiving the variable 'oid', but it's value is the string "<?php $_oid ?> instead of the real value of $_oid. Does anyone know how to change it so that it sends me the value of $_oid and not the string of it?