Forum Moderators: martinibuster

Message Too Old, No Replies

need help with alternate ads code for flash

how to use a flash ad as my alternate

         

ajsinclair

3:15 pm on Jul 16, 2004 (gmt 0)

10+ Year Member



I think / hope this is a simple question. I have adsense set up to pull in a separate file for alternate ads (just like Google suggests). I have an image link now but I want to do flash. I don't have much experience with flash, and I'm just wondering what html I need to accomplish this.

I tried just putting in the html the way I would within a web page, but in the browser my site is trying to get the user to download the file. I must be doing something wrong. Any ideas?

My alternate ads document looks like this:

<PARAM NAME=movie VALUE="[location of swf file]"> 
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFAFA>
<EMBED src="[location of swf file]" quality=high bgcolor=#FFFFFF WIDTH=160 HEIGHT=600 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

Sanenet

3:33 pm on Jul 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your missing the opening <object> tag. It should be something like:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="32" height="32">

(for Flash MX, you'll need to change the version number if it's 5)

ajsinclair

7:34 pm on Jul 16, 2004 (gmt 0)

10+ Year Member



Thanks - it's still not working though. My browser still prompts me to download the google file (alternate.ads). Perhaps I need to give that file a recognized extention?