I am trying to direct my flash banner in html to my homepage. I can get the banner to appear but when you click on it, it takes you to my homepage/undefined. I know I am supposed to insert this line somewhere, but I can't figure out where: <a href="http://www.MVPExchange.com/"></a> Here is the code for my ad, works fine but won't take you anywhere: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="728" height="90" id="MVP_728x90" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="http://www.MVPExchange.com/MVP_728x90.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="http://www.MVPExchange.com/MVP_728x90.swf" quality="high" bgcolor="#ffffff" width="728" height="90" name="MVP_728x90" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> Please Help!
First You can NOT rule the banner destination with hipper refference ( a href ). It must be included in the banner itself (before the comilation). If you have URLRequest defined into the banner, You also must change this line: <param name="allowScriptAccess" value="sameDomain" /> into <param name="allowScriptAccess" value="always" />
I looked inside the flash file and i saw that you can specify the URL in the html. file with FlashVars here is how: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="728" height="90" id="MVP_728x90" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="FlashVars" value="clickTAG=http://www.YOUR-SITE.com/" /> <param name="movie" value="http://www.MVPExchange.com/MVP_728x90.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="http://www.MVPExchange.com/MVP_728x90.swf" quality="high" bgcolor="#ffffff" width="728" height="90" name="MVP_728x90" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars= "clickTAG=http://www.YOUR-SITE.com/" /> </object> if you have a javascript part something like this : .................................... 'wmode', 'window', 'devicefont', 'false', 'id', '~MVP_728x90', 'bgcolor', '#ffffff', 'name', '~MVP_728x90', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', '~MVP_728x90', 'salign', '', add the last line: 'flashvars', 'clickTAG=http://www.YOUR-SITE.com/' Hope this helps. Thanks!