January 7, 201115 yr I'm rejigging a site due to a change in company name including reuploading a Flash animation on to the home page. The original version works smoothly. Both versions seem to have "embed" code automatically inserted yet in the second version. 1. The Flash file has been inserted wrong with a double fileending ".swf.swf" which means that the image does not apppear. 2. When I use Firebug to delete the surplus filending the animation appears but not where it should be. Any ideas? Edited January 7, 201115 yr by Matt G
January 7, 201115 yr Author Right. URLs altered, automatically inserted code in bold. <div id="fp_flash_holder"> <script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', 'width', '350', 'height', '500', 'src', 'http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010.swf', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'opaque', 'devicefont', 'false', 'id', ',%20,%20boat_251010', 'bgcolor', '#ffffff', 'name', ',%20,%20boat_251010', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010.swf', 'salign', '' ); //end AC code } </script><embed src="http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010.swf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name=",%20,%20boat_251010" menu="true" allowfullscreen="false" allowscriptaccess="sameDomain" salign="" type="application/x-shockwave-flash" align="middle" height="500" width="350">
January 7, 201115 yr Where does the automatically generated code come from? Find out where it's being generated as there are instances where the code takes the filename and adds the extension which is coded separately, so use the filename without the extension and then with luck the result will probably only have one .swf.
January 17, 201115 yr bump - not even sure where the atomated code might be coming from. Dont understand flash but logic tells me if i edit this line src', 'http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010.swf', To src', 'http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010', Of course that could be utter crap
January 18, 201115 yr Author The obvious worked to an extent - thanks! However while the double filending problem is solved the image still isn't coming up.
January 18, 201115 yr I don't like the look of this filename http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010.swf and in the embed tag:- http://www.,,.co.uk/webdev/Flash/,%20,%20boat_251010.swf.swf" The %20 is inserted automatically into a space, so perhaps you should get rid of the spaces by using - or _
Create an account or sign in to comment