Swf in full screen For browser
Hello, i been working on my project i been trying to make this file on full screen for more than 2 months but isnt working please can anyone here help me and tell me what im doin wrong here is my code!
<script type='text/javascript'>
function onFailFlashembed() {
var inner_html = '<div class="flashFailHead">Instala el Adobe Flash Player</div>\n\
<div class="flashFailHeadText">Para jugar a DarkOrbit, necesitas el Flash Player m�s actual. �Solo tienes que instalarlo y empezar a jugar!\n\
<div class="flashFailHeadLink" style="cursor: pointer">Desc�rgate aqu� el Flash Player gratis: <a href=\"http://www.adobe.com/go/getflashplayer\" style=\"text-decoration: underline; color:#A0A0A0;\">Descargar Flash Player<\/a> </div></div>';
document.getElementById('container').innerHTML = inner_html;
}
function expressInstallCallback(info) {
// possible values for info: loadTimeOut|Cancelled|Failed
onFailFlashembed();
}
jQuery(document).ready(
function(){
if(window.innerHeight > window.innerWidth){
var landscapeOrPortrait = 'portrait';
} else {
var landscapeOrPortrait = 'landscape';
}
var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
var height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
flashembed("container", {"src": "spacemap/main.swf","version": [11,0],"expressInstall": "swf_global/expressInstall.swf","width": width,"height": height,"wmode": "direct","bgcolor": "#000000","id": "main"},
i also tryred changing width and height to 100% when i do that screen stays just black i can't see anything maximum of size that i did was 1280x900 it wont be bigger
can anyone help me to fix it?

