-
Is it possible to have a swf scale to the size of a browser window? I use the following code to run, I've tried placing in a container etc but with no success. I'm guessing this is a lack of html knowledge!! Basically is it possible to remove the width and height elements and have the swf scale to the size of the browser window? Any help appreciated! Cheers, Mark <script src="ruffle/ruffle.js"></script> <script>var swfobject = {}; swfobject.embedSWF = function(url, cont, width, height){ swfobject.embedSWF('iRMwipeout2.swf', 'ruffle', 1000, 800); |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The Demo page on ruffle.rs behaves similarly. You could try taking a look at how it's done there. |
Beta Was this translation helpful? Give feedback.
-
Solved with a simple change |
Beta Was this translation helpful? Give feedback.
Solved with a simple change
style: 'width: 100vw; height: 10vh',