Problem with IE7

8 views
Skip to first unread message

Jorge Raimundo

unread,
Apr 19, 2011, 6:51:49 AM4/19/11
to swffit
Hi all!

I have a IE7 problem: I get a huge empty area on the left of the swf.

The CSS for it is:
<style type="text/css" media="screen">
            html, body    { height:100%; }
            body { margin:0; padding:0; overflow:auto; text-align:center;
                   background-color: #ffffff; }
            object { display:block; }
            #flashContent { display:none; }
</style>

Thanks,
Jorge

lolka_bolka

unread,
Apr 19, 2011, 6:54:14 AM4/19/11
to SWFFit
And what is your js code?

Jorge Raimundo

unread,
Apr 19, 2011, 7:01:58 AM4/19/11
to swf...@googlegroups.com
Here it is:

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="swffit.js"></script>
<script type="text/javascript">
        <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
        var swfVersionStr = "10.1.0";
        <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
        var xiSwfUrlStr = "playerProductInstall.swf";
        var flashvars = {};
        var params = {};
        params.quality = "high";
        params.bgcolor = "#ffffff";
        params.allowscriptaccess = "sameDomain";
        params.allowfullscreen = "true";
        var attributes = {};
        attributes.id = "Consus";
        attributes.name = "Consus";
        attributes.align = "middle";
        swfobject.embedSWF(
        "Consus.swf", "flashContent",
        "100%", "100%",
        swfVersionStr, xiSwfUrlStr,
        flashvars, params, attributes);
        <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
        swfobject.createCSS("#flashContent", "display:block;text-align:left;");
        swffit.fit("Consus", 1024, 640);
</script>


On Tue, Apr 19, 2011 at 11:54, lolka_bolka <vasoczk...@gmail.com> wrote:
And what is your js code?

--
You received this message because you are subscribed to the Google Groups "SWFFit" group.
To post to this group, send email to swf...@googlegroups.com.
To unsubscribe from this group, send email to swffit+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swffit?hl=en.


Reply all
Reply to author
Forward
0 new messages