Flash objects OK in XP IExplorer missing in Firefox Ubuntu

Macromedia Flash

Flash objects OK in XP IExplorer missing in Firefox Ubuntu


jodpcc 05-31-2008, 8:03 AM
One of my websites' navigation menu is not visible when using Firefox on Ubuntu, but can be seen fine when using Internet Explorer on XP.  The website in question is http://www.functionall.com
the menu is made of a table of swf buttons.  I use very similar coding in http://www.BIBC.co.uk and it is visible on both platforms.
Any thoughts?

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


jodpcc 05-31-2008, 9:17 AM
Just checked the template and the embed statements were missing completely.  Don't really understand how it worked at all in IE on XP either?  But sorted now.

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


deanman 05-31-2008, 3:44 PM
One thing that is always working with all browser (not text browser) is the use of the HTML element 'object' rather than the new HTML 5 element 'embed'.

The following example should work with all browser (replace & #62; with >):

<object data="http://www.example.com/flash.ext" type="application/x-shockwave-flash" height="xxx" width="xxx" standby="Loading flash content..." /&#62;
<param name="movie" value="http://www.example.com/flash.ext" /&#62;
<param name="wmode" value="transparent" /&#62;
<param name="menu" value="false" /&#62;
Sorry, flash content not available!
</object&#62;


I <3 WebHost4Life.com

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


admin 05-31-2008, 3:54 PM
   Try something like this

 <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="967" HEIGHT="818">
<param name="movie" value="http://yourdomain.com/....your_swf_file">
<param name=quality value=high>
<embed src="http://yourdomain.com/....your_swf_file" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" WIDTH="967" HEIGHT="818"></embed>
</object>

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


jodpcc 06-01-2008, 4:08 AM

Thanks for your assistance. I changed the original code, which was:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="150" height="35">
<param name="BGCOLOR" value="">
<param name="movie" value="buttonwelcome.swf">
<param name="quality" value="high">
</object>

to this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="150" height="35">
<param name="BGCOLOR" value="">
<param name="movie" value="buttonwelcome.swf">
<param name="quality" value="high">
<embed src="buttonwelcome.swf" base="" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="181" height="42" ></embed>
</object>

which seems to make it work in both environments. I am self taught (not very well) at putting together basic websites using Dreamweaver, so both of these blocks of code would have been generated for me at some stage.

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


deanman 06-01-2008, 5:11 AM
<BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/Themes/default/images/icon-quote.gif">&nbsp;<strong>jodpcc wrote:</strong></td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4"><pre id="line67"><br>Thanks for your assistance. I changed the original code, which was:<br><font color="#0000ff">object</span><span class="attribute-name"> classid</span>=<span class="attribute-value">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" </span><span class="attribute-name">codebase</span>=<span class="attribute-value">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" </span><span class="attribute-name">width</span>=<span class="attribute-value">"150" </span><span class="attribute-name">height</span>=<span class="attribute-value">"35"</span>><br> param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"BGCOLOR" </span><span class="attribute-name">value</span>=<span class="attribute-value">""</span>><br> param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"movie" </span><span class="attribute-name">value</span>=<span class="attribute-value">"buttonwelcome.swf"</span>><br> param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"quality" </span><span class="attribute-name">value</span>=<span class="attribute-value">"high"</span>> <br> object</span>></font><br>to this:<br><font color="#0000ff">object</span><span class="attribute-name"> classid</span>=<span class="attribute-value">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" </span><span class="attribute-name">codebase</span>=<span class="attribute-value">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" </span><span class="attribute-name">width</span>=<span class="attribute-value">"150" </span><span class="attribute-name">height</span>=<span class="attribute-value">"35"</span>><br> param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"BGCOLOR" </span><span class="attribute-name">value</span>=<span class="attribute-value">""</span>><br> param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"movie" </span><span class="attribute-name">value</span>=<span class="attribute-value">"buttonwelcome.swf"</span>><br> param</span><span class="attribute-name"> name</span>=<span class="attribute-value">"quality" </span><span class="attribute-name">value</span>=<span class="attribute-value">"high"</span>><br> <font color="#000000"><font color="#ff0000">embed</span><span class="attribute-name"> src</span>=<span class="attribute-value">"buttonwelcome.swf" </span><span class="attribute-name">base</span>=<span class="attribute-value">"" </span><span class="attribute-name">quality</span>=<span class="attribute-value">"high" </span><span class="attribute-name">pluginspage</span>=<span class="attribute-value">"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" </span><span class="attribute-name">type</span>=<span class="attribute-value">"application/x-shockwave-flash" </span><span class="attribute-name">width</span>=<span class="attribute-value">"181" </span><span class="attribute-name">height</span>=<span class="attribute-value">"42" </span>>embed</span>></font> </font><br> object</span>></font><br>which seems to make it work in both environments. I am self taught (not very well) at putting together basic websites using Dreamweaver, so both of these blocks of code would have been generated for me at some stage.<br></pre></td></tr></table></td></tr></table></BLOCKQUOTE>



Good for you. Well, in order to pass XHTML validators you have to use the example I have given.


I <3 WebHost4Life.com

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


jodpcc 06-01-2008, 5:22 PM
Sorry, I do appreciate your response, but I had already made the change by the time I read it.  Are you able to tell from the code that I posted what the problem was?

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


deanman 06-01-2008, 7:15 PM
The problem is not your code, but how browser handle standards.

Anyway, the 'data' and 'type' attributes as well as the 'param' element 'movie' make sure that flash content can be handled by all gfx-browser. That's the trick. Some browser just need the 'data/type' attributes and others the 'param' element in order to work.


I <3 WebHost4Life.com

Re: Flash objects OK in XP IExplorer missing in Firefox Ubuntu


jodpcc 06-02-2008, 4:22 AM
OK, thanks for that.  I'll have a play when I have a dull moment :o)
webhost4life.com

Powered by Community Server, by Telligent Systems