Ah, ok.
In that case, you just need something like the below in the HTML: <!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 = {}; params.allowfullscreen = "true"; params.allowscriptaccess = "sameDomain"; var attributes = {}; swfobject.embedSWF("some.swf", "flash", "800", "600", "9.0.0", false, flashvars, params, attributes); </script> </head> <body> <div id="flash"> alt content </div> </body> </html> The rest is taken care of in the swf itself in terms of entering full screen mode. See : http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html Aran From: [email protected] [mailto:[email protected]] On Behalf Of richard carr Sent: Thursday, 7 May 2009 12:57 AM To: [email protected] Subject: Re: test_dynamic_fullbrowserflash_adv.html Thanks for the reply Aran, Sorry, I wasn't clear. I'm using http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbro <http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbr o%0Awserflash_adv.html> wserflash_adv.html and it works fine for full browser. I need to add params.allowfullscreen = "true", to this fullbrowser html, to allow users to click a btn to go full screen ( like uTube) Thanks, Richard On Tue, May 5, 2009 at 7:55 PM, Aran Rhee <[email protected]> wrote: Richard params.allowfullscreen = "true" is for allowing the Flash player to display fullscreen video etc. If you are wanting to embed the swf in the browser page at 100% size (filling the browser no matter resizing happens), then you should read up here: http://code.google.com/p/swfobject/wiki/faq (FAQ #1) Three code examples can be found in the SWFObject test suite: Static publishing - http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_fullbrowserflas <http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_fullbrowserfla s%0Ah.html> h.html Dynamic publishing - http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbro <http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbr o%0Awserflash.html> wserflash.html Dynamic publishing including min-width, min-height and scrollbars - http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbro <http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_fullbr o%0Awserflash_adv.html> wserflash_adv.html Regards, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of flash ho Sent: Wednesday, 6 May 2009 7:43 AM To: SWFObject Subject: test_dynamic_fullbrowserflash_adv.html Where can I had the params.allowfullscreen = "true";?? I need to go full browser with scroll bars and also allow full screen. Been beating my head for hours! Thanks, Richard -- Richard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
