It won’t go away! How to display an alternate image for one’s flash object. Actually I gave up, I decided that the browser default was more informative but here’s my notes.

Stackoverflow has an article here.

I am using the flickr slide show flash code, here’s their code to make a slide show

<div style="width:500px;height:500px;text-align:center;margin:auto;" ><object width="500" height="500" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2Fshow&amp;page_show_back_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2F&amp;user_id=38126735@N00&amp;set_id=72157686254932244&amp;tags=flood" /> 
<param name="allowFullScreen" value="true" />
<param name="src" value="https://www.flickr.com/apps/slideshow/show.swf?v=71649" /> <embed width="500" height="500" type="application/x-shockwave-flash" src="https://www.flickr.com/apps/slideshow/show.swf?v=71649" flashvars="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2Fshow&amp;page_show_back_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2F&amp;user_id=38126735@N00&amp;set_id=72157686254932244&amp;tags=flood" allowFullScreen="true" />
</object>
<br /><small>Created with <a href="http://www.flickrslideshow.com">flickr slideshow</a>.</small></div>

I have converted the embed statement to <object> and used an <img> tag as advised at Stackoverflow in this article.

<div>
  <object>
     /* Embedded Flash */
    <div style="width:500px;height:500px;text-align:center;margin:auto;" >
      <object width="500" height="500" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"       codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" 				  type="application/x-shockwave-flash" src="https://www.flickr.com/apps/slideshow/show.swf?v=71649" 				     flashvars="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2Fshow&amp;page_show_back_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2F&amp;user_id=38126735@N00&amp;set_id=72157686254932244&amp;tags=flood" 					  allowFullScreen="true">
      <param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2Fshow&amp;page_show_back_url=%2Fphotos%2Fdavelevy%2Falbums%2F72157686254932244%2F&amp;user_id=38126735@N00&amp;set_id=72157686254932244&amp;tags=flood" /> 
      <param name="allowFullScreen" value="true" />
      <param name="src" value="https://www.flickr.com/apps/slideshow/show.swf?v=71649" /> 
      <img src="https://davelevy.info/images/barrier.jpg">		  
    </object>
    <br /><small>Created with <a href="http://www.flickrslideshow.com">flickr slideshow</a>.</small>
  </div>
  </object>
</div>

Here’s the slide show …


Created with flickr slideshow.

Here’s one of the pictures …

https://www.flickr.com/photos/davelevy/36895742406/in/album-72157686254932244/

And here’s the combined object


Created with flickr slideshow.

which doesn’t seem to be working, at the previous versionI used an object tag. I have previously tried the background-image property placed on the internal div statement which is the current version.

ooOOOoo

Dave Technology ,

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.