Use duplicate param

23 views
Skip to first unread message

nana

unread,
Jul 4, 2008, 2:23:14 AM7/4/08
to SWFObject
Hi, I made the swf in my background, and then the content is by html
overlay it,

I use this code:

<script type="text/javascript">
var flashvars = {};
var params = { wmode: "opaque", scale: "showAll", scale:
"exactFit" };
var attributes = {};
swfobject.embedSWF("images/flash.swf", "flashcontent", "100%",
"100%", "7", false, flashvars, params, attributes);
</script>

because I want my swf to display all and fit to the screen, so I use
two times scale in the params, I have no idea of scripting. But in the
browser, it works. But I have no idea if this syntax is correct ....
Or maybe there is better way?


Thanks for helping.

Aran Rhee

unread,
Jul 4, 2008, 2:54:19 AM7/4/08
to swfo...@googlegroups.com
Using 100% for width and height is a valid technique. If it is working for
you, then it is fine...

Aran

nana

unread,
Jul 6, 2008, 9:38:32 PM7/6/08
to SWFObject
thank you :)
Reply all
Reply to author
Forward
0 new messages