elpaisa Posted March 22, 2007 Posted March 22, 2007 Hi all! I have installed the contribution for flash banners "flash_banners v2.0", since i haven't still edited the files html_output.php and banner.php I copied them into my catalog/includes/functions. folder just as it is specified and the other files "AC_RunActiveContent" "AC_ActiveX" in the place they may be, I've readed the installation instructions and there's nothing missing but the flash banners that I put in the banners admin, doesn't appear but the .gifs yes, I was checking what happens with the code that it outputs in html and this is the comparison with other pages that work properly: the flash banner v.2.0 file output: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/flash.cab#version=6,0,29,0','width',' 467','height',' 57','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie',' images/menu.swf' ); </script> <noscript><EM> <object type="application/x-shockwave-flash" data="images/menu.swf" width="467" height="57"> <param name="movie" value="images/menu.swf" /> <param name="wmode" value="transparent"> </object> </EM></noscript><EM> and this is the code that works: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','467','height','57','src','images/menu','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/menu' ); //end AC code </script><noscript><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="467" height="57"> <param name="movie" value="images/menu.swf" /> <param name="quality" value="high" /> <embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="467" height="57"></embed> </object></noscript> note they are almost totally diferent. I took the time to change the code in html_output.php untill it gave this result: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','467','height','57','src','images/menu.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/menu.swf' ); //end AC code </script><noscript><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="467" height="57"> <param name="movie" value="images/menu.swf" /> <param name="quality" value="high" /> <embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="467" height="57"></embed> </object></noscript> it's exactly the same that the code that works but with some difference, the text that is underlined, that makes the difference between the code that works and the not, so, don't know if I'm going by the wrong way or if just making something bad with installation, but the code that works hasn't the .swf extension in the bits that I pinpointed, does anybody know what to do, or can give me a hand with the code
Recommended Posts
Archived
This topic is now archived and is closed to further replies.