I have a flash word verification doohickey running on a page that
submits an email (problem with a spammer).
The code for the flash is......
<td width="109"<div id="flashcontent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="80" height="40" id="accesscode" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="accesscode.swf?gifFile=123456"/>
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="accesscode.swf" quality="high" bgcolor="#ffffff" width="80"
height="40" name="accesscode" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
I need to pass it the currently hardcoded 123456 number. I want to
pass it something like
<script type="text/javascript">
var numbers = Math.round(Math.random()*99999);
</script>
I cannot just set gifFile = numbers, it is null.
How do I pass the variable numbers to the flash program?