Have a look at the FAQ entry #1 (
http://code.google.com/p/swfobject/wiki/faq ). You need a bit of css
goodness to get FF to behave... (a Google search for "swfobject 100%" gives
the above liknk as the #2 listing)

Here are some fully working examples too:
static pub:
http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_fullbrowserflash.html

dynamic pub:
http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic_fullbrowserflash.html



Cheers,
Aran


On Wed, Oct 12, 2011 at 2:39 AM, Byambajargal Damba <
[email protected]> wrote:

> Hello. i'm searching over internet this kind of problem and didn't
> find anything useful. maybe i'm searching wrong. And finally found
> this group and all you swfobject guru's can solve this problem.
>
> i'm using swfobject_generator_1_2_html generator to get this code. it
> not working when i use width and height parameters 100%. any
> suggestions.
>
> <!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=utf-8" /
> >
>                <script type="text/javascript" src="swfobject.js"></script>
>
>                <script type="text/javascript">
>                        var flashvars = {};
>                        var params = {};
>                        params.menu = "false";
>                        params.scale = "noscale";
>                        params.salign = "tl";
>                        params.allowfullscreen = "true";
>                        var attributes = {};
>                        attributes.id = "myContent";
>                        swfobject.embedSWF("test.swf",
> "myAlternativeContent", "100%",
> "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
>                </script>
>        </head>
>        <body>
>                <div id="myAlternativeContent">
>                        <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>
>                </div>
>        </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.
>
>

-- 
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.

Reply via email to