T
trig
I have downloaded the swfobject.js file from
http://www.adobe.com/devnet/flash/articles/swfobject.html and it works
fine if i put the following code in:
<script type="text/javascript" src="swfobject.js"></script>
<div class="style1" id="flashcontent">
You do not have the latest Flash Player Plugin</div>
<script type="text/javascript">
var so = new SWFObject("my_site_v3.swf", "flashcontent", "900",
"700", "7", "#131313");
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");
</script>
BUT
if i try putting:
var so = new SWFObject("my_site_v3.swf", "flashcontent", "100%",
"100%", "7", "#131313");
it doesn't work.
I want my flash movie to scale to the size of the browser window like
it does when you export in flash with width 100% Height 100%.
This code works to scale the movie:
<object
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab..."
name="flashcontent" width="100%" height="100%" align="middle"
id="my_site_v3">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="my_site_v3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#131313" />
<embed src="my_site_v3.swf" width="100%" height="100%" align="middle"
quality="high" bgcolor="#131313" name="flashcontent"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
but i don't want to active the flash movie by clicking on it.
TO SUMMARISE:
Want i want to do is NOT have to click on my flash movie to activate it
(i.e. get rid of the surrounding box when it loads - which i think the
swfobject.js solves) BUT I ALSO WANT TO be able to to SCALE the movie
using WIDTH 100% HEIGHT 100%
Please help
http://www.adobe.com/devnet/flash/articles/swfobject.html and it works
fine if i put the following code in:
<script type="text/javascript" src="swfobject.js"></script>
<div class="style1" id="flashcontent">
You do not have the latest Flash Player Plugin</div>
<script type="text/javascript">
var so = new SWFObject("my_site_v3.swf", "flashcontent", "900",
"700", "7", "#131313");
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.addParam("salign", "t");
so.write("flashcontent");
</script>
BUT
if i try putting:
var so = new SWFObject("my_site_v3.swf", "flashcontent", "100%",
"100%", "7", "#131313");
it doesn't work.
I want my flash movie to scale to the size of the browser window like
it does when you export in flash with width 100% Height 100%.
This code works to scale the movie:
<object
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab..."
name="flashcontent" width="100%" height="100%" align="middle"
id="my_site_v3">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="my_site_v3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#131313" />
<embed src="my_site_v3.swf" width="100%" height="100%" align="middle"
quality="high" bgcolor="#131313" name="flashcontent"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
but i don't want to active the flash movie by clicking on it.
TO SUMMARISE:
Want i want to do is NOT have to click on my flash movie to activate it
(i.e. get rid of the surrounding box when it loads - which i think the
swfobject.js solves) BUT I ALSO WANT TO be able to to SCALE the movie
using WIDTH 100% HEIGHT 100%
Please help