I have a flash movie that is full browser and has a button to go fullscreen. This has been working fine in all browsers using the html generated by Flash CS3. I decided to give SWFObject a go, and I can't get it to go into fullscreen when the button is pressed when using Firefox.
Here is my html code using SWFObject 2.1... *********************************** <!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</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css" media="screen"> html, body, #content { height:100%; } body { margin:0; padding:0; overflow:hidden; } #altContent { /* style alt content */ } </style> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("myId", "9.0.0", "expressInstall.swf"); </script> </head> <body> <div id="content"> <object id="myId" classid="clsid:D27CDB6E- AE6D-11cf-96B8-444553540000" width="100%" height="100%"> <param name="movie" value="MySite.swf" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="showall" /> <param name="wmode" value="window" /> <param name="salign" value="tl" /> <param name="bgcolor" value="#808082" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="MySite.swf" width="100%" height="100%"> <!--<![endif]--> <div id="altContent"> <h1>Alternative content</h1> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/ get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </body> </html> *********************************** And here is the code generated by Flash CS3 that works great in all browsers... *********************************** <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Title</title> <script language="javascript">AC_FL_RunContent = 0;</script> <script src="AC_RunActiveContent.js" language="javascript"></script> </head> <body bgcolor="#ffffff"> <!--url's used in the movie--> <!--text used in the movie--> <!-- saved from url=(0013)about:internet --> <style type="text/css"> body {margin: 0; padding: 0; color: #0B0B0B;} </style> <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', '100%', 'height', '100%', 'src', 'MySite', 'quality', 'medium', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'MySite', 'bgcolor', '#808082', 'name', 'MySite', 'menu', 'true', 'allowFullScreen', 'true', 'allowScriptAccess','sameDomain', 'movie', 'MySite', 'salign', 'lt' ); //end AC code } </script> <noscript> <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="100%" height="100%" id="MySite" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="MySite.swf" /><param name="quality" value="medium" /><param name="salign" value="lt" /><param name="bgcolor" value="#808082" /> <embed src="MySite.swf" quality="medium" salign="lt" bgcolor="#808082" width="100%" height="100%" name="MySite" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http:// www.macromedia.com/go/getflashplayer" /> </object> </noscript> </body> </html> *********************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
