Note that there are some explanatory texts on larger screens.

plurals
  1. POEmbedding Flash SWF
    text
    copied!<p>I am trying to make a mockup of this website for a class project: <a href="http://www.smokeybear.com/campfire-safety.asp" rel="nofollow">http://www.smokeybear.com/campfire-safety.asp</a></p> <p>I have all the elements loaded just fine, except I can't seem to make it load the flash\clock.swf right above the <em>Approximate number of acres burned</em> on the right-hand side.</p> <p>Since I don't have a copy of the swf saved locally on my hard drive, I was trying to reroute it to the actual url of the swf. What it is currently showing is the grey space for the counter, without the orange numbers. Here is the clip of code from the page source:</p> <pre><code>&lt;script type="text/javascript" language="JavaScript"&gt;getCounterFlash()&lt;/script&gt; &lt;noscript&gt; &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="190" height="45" id="clock" align="middle"&gt; &lt;param name="allowScriptAccess" value="sameDomain" /&gt; &lt;param name="allowFullScreen" value="false" /&gt; &lt;param name="movie" value="http://www.smokeybear.com/flash/clock.swf" /&gt; &lt;param name="quality" value="high" /&gt; &lt;param name="bgcolor" value="#000000" /&gt; &lt;embed src="http://www.smokeybear.com/flash/clock.swf" quality="high" bgcolor="#000000" width="190" height="45" name="clock" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt; &lt;/object&gt; &lt;/noscript&gt; </code></pre> <p>Here is the getCounterFlash() from the js:</p> <pre><code>function getCounterFlash() { document.write('&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="190" height="45" id="clock" align="middle"&gt;&lt;param name="allowScriptAccess" value="sameDomain" /&gt;&lt;param name="movie" value="http://www.smokeybear.com/flash/clock.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="bgcolor" value="#ffffff" /&gt;&lt;param name="wmode" value="opaque"&gt;&lt;embed src="http://www.smokeybear.com/flash/clock.swf" quality="high" bgcolor="#ffffff" width="190" height="45" id="clock" name="clock" align="middle" allowScriptAccess="sameDomain" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;&lt;/object&gt;'); } </code></pre> <p>Haven't really played with embedded flash objects too much, so could anyone advise on what values I should change to get it to work like it is working on the original site? Thanks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload