Adding a hyperlink to a SWF object on page... [help]

Discussion in 'Graphics & Multimedia' started by scottlpool2003, Aug 9, 2010.

  1. #1
    I am doing something wrong but I do not understand what...

    			<?PHP
    $time=microtime(1);
    hash('sha1', 'linkurl');
    url = "http://
    ?>
    
    			<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="250" height="40" id="button" align="middle"> 
    										<param name="allowScriptAccess" value="sameDomain" /> 
    										<param name="allowFullScreen" value="false" /> 
    										<param name="movie" value="http://www.crazyassthings.com/button.swf?txt=DOWNLOAD&authKey=<?PHP echo (microtime(1)-$time)*10000;?>&linkID=http://www.crazyassthings.com" /> 
    										<param name="quality" value="high" /> 
    										<param name="bgcolor" value="#ffffff" />	
    										<embed src="http://www.crazyassthings.com/button.swf?txt=DOWNLOAD&authKey=<?PHP echo (microtime(1)-$time)*10000;?>&linkID=http://www.crazyassthings.com" quality="high" bgcolor="#ffffff" width="250" height="40" name="button" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /> 
    									</object> 
    PHP:
    I think it's the linkID.

    I am trying to add a flash button to a dynamic page which will link users to an external link with a changing authKey. The authKey works but I cannot get the button to link to another page.

    Here's the page:
    http://www.crazyassthings.com/css/index.php

    Please help, been trying for hours!

    Scott.
     
    scottlpool2003, Aug 9, 2010 IP