well, i got lucky and figured out most of it
Code:
<script type="text/javascript">
var flashvars = { };
var attributes = {id:"flashcontent"};
<!--swfobject.embedSWF("swf/main.swf", "flashcontent", "980", "750", "9.0.0", "swf/expressInstall.swf", flashvars, params, attributes);-->
var screen_height = screen.height;
if (screen_height >= 769) {
var params = {wmode:"Transparent", scale:"noscale", quality:"high", bgcolor:"#000000", allowscriptaccess:"samedomain", allowfullscreen:"true"};
var so = new swfobject.embedSWF("swf/main_mc.swf", "flashcontent", "980", "750", "9.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
}else if (screen_height <= 768 && screen_height >= 0) {
var params = {wmode:"Transparent", quality:"high", bgcolor:"#000000", allowscriptaccess:"samedomain", allowfullscreen:"true"};
var so = new swfobject.embedSWF("swf/main.swf", "flashcontent", "735", "563", "9.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
}
so.swfobject.embedSWF("flashcontent");
</script>
but i have a video inside and when it goes to full screen, the settings are screwy
Bookmarks