Questions

Answer

How to display alternative content when there is no Flash support

To display an alternative content when there is no Flash support, like a browser that doesn't have Adobe Flash Player plugin installed or an Apple mobile device like iPhone or iPad, you have to add the alternative content between the component's opening DIV tag and closing DIV tag.

This is an example for 3D Banner FX:

<div id="Div3DBannerFX">Alternative content here</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
 var flashvars = {};
 var params = {};
 params.base = "";
 params.scale = "noscale";
 params.salign = "tl";
 params.wmode = "transparent";
 params.allowFullScreen = "true";
 params.allowScriptAccess = "always";
 swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374", "9.0.0", false, flashvars, params);
</script>

You can use custom HTML code instead of Alternative content here in the above code, like this example that show you how to display an image if there is no Flash support.

<div id="Div3DBannerFX"><img src="banner.jpg" /></div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
 var flashvars = {};
 var params = {};
 params.base = "";
 params.scale = "noscale";
 params.salign = "tl";
 params.wmode = "transparent";
 params.allowFullScreen = "true";
 params.allowScriptAccess = "always";
 swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374", "9.0.0", false, flashvars, params);
</script>

For WordPress or Joomla websites you can find out in the install instructions how to display alternative content.

Comments

  • Page:
  • 1
  • 2
  • 3
  • 4
  • >
  • loading comments...

raj kumar

Posted 28 days ago

nice information thanks for this information

Ciaran Mooney

Posted 3 months ago

Hi,

I am trying to write alternate text to display on Iphones/androids that do not support flash but cant seem to get it right. I end up with both alternate text and flash (text) displaying at once, code is below, any input is appreciated !!

<div classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”>Alternative content here</div>
<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” class=“result10435918” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,40,0” width=“595” height=“39” id=“haxe” align=“middle”> <param name=“movie” value=“logo70644855.swf”/> <param name=“allowScriptAccess” value=“always” /> <param name=“quality” value=“high” /> <param name=“wmode” value=“transparent” /> <embed src=“images/homeheader2.swf” wmode=“transparent” width=“595” height=“39” name=“haxe” quality=“high” allowScriptAccess=“always” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” ></embed>

</object>

FlashXML Support

Try to use our embed method:

<div id="Div3DBannerFX">Alternative content here</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
 var flashvars = {};
 var params = {};
 params.base = "";
 params.scale = "noscale";
 params.salign = "tl";
 params.wmode = "transparent";
 params.allowFullScreen = "true";
 params.allowScriptAccess = "always";
 swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374", "9.0.0", false, flashvars, params);
</script>

Karubum

Posted 6 months ago

Code below at did not work for alternate content (image) of flash. Where did I make a mistake?

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” lang=“en” xml:lang=“en”> <head> <title></title> <meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” /> <script type=“text/javascript” src=“swfobject.js”></script> <script type=“text/javascript”> var flashvars = {}; var params = {}; bgcolor = “0×000000”; params.scale = “noscale”; params.salign = “tl”; params.wmode = “transparent”; params.allowfullscreen = “true”; var attributes = {}; swfobject.embedSWF(“BannerRotatorFX.swf”, “BannerRotatorFXDiv”, “950”, “250”, “9.0.0”, false, flashvars, params, attributes); </script> </head> <body> <div id=“BannerRotatorFXDiv”> <img src=“http://www.tezmak.com.tr/flash/banner2_en/images/01.jpg” alt=“TEZMAK” title=“Tezmak” /> </div> </body>

</html>

Marco

Posted 7 months ago

Hi, I’m using the text menu fx on my joomla website. I have to make the menu visible also for the iphone or ipad users. Therefore i want to ask you if there is any kind of converter from your flash menu to an html5 menu. I’ve proved with a plugin of adobe cs6, adobe professional toolkit, but it give me errors. How can i do it?
Thank you in advance.

FlashXML Support

Unfortunately we don’t have any knowledge about a flash to html5 converter.

David

Posted 9 months ago

Hello

In the Joomla Instructions there is no indication how to redirect or provide alternate content for non-flash users.

I am using Photo Wall FX.

Can you advise for Joomla 1.6 and higher?

Thanks

FlashXML Support

You can provide alternative content by adding the content you want between {photo-wall-fx} and {/photo-wall-fx}.

  • loading comments...
  • Page:
  • 1
  • 2
  • 3
  • 4
  • >

Do you have a question?

you will get an answer in 24 hours, tops.

(required) Only alphanumeric characters allowed
(required) (will not be published)
Please type a message! Your message is too long! Either try to keep within 1500 characters, or contact our support team via email at support [at] flashxml.net.
(will not be published)
You mistyped the two words!
Can't read? Change the image
Format your comments using Textile: *bold*, _italic_, "link text":address, @code@
Connect to us on Facebook Follow us on Twitter Subscribe to our RSS feed
Copyright © FlashXML.net 2009 - 2013