I'm having trouble with swf object working correctly in IE.  More
specifically I want to have the width and height automatically conform
to the what the size of the window the user is viewing the swf in is.

In Firefox and other browsers; I simply have 100% in both the width
and height values.  Here is the code:

<script type="text/javascript">
 var flashvars = {}
 var params = {
  base: ".",
    allowfullscreen: "true",
  bgcolor: "#000000"
}
 var attributes = {}
swfobject.embedSWF("slideshow.swf", "flashcontent", "100%", "100%",
"9.0.0", false, flashvars, params, attributes);
</script>

However, this percentage value makes the flash file not load at all in
IE[7].  In order to get it to work in IE I need to put pixel values.
Is there a way around this that does not involve actionscript? (I
don't have access to the original .fla file.

Thank you for all responses.
      -Blaney

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

Reply via email to