|
-
There is a much simpler way. Just use this code in your html file:
Code:
<script language="JavaScript" type="text/javascript">
<!--
window.ver4 = false;
if(parseInt(navigator.appVersion) >= 4)
{
window.ver4 = true;
}
function big()
{
if(window.ver4)
{
var str4='bigWindow = window.open("full1.html", "big", "height=' + screen.height + ',width=' + screen.width + ',location=0,menubar=0,scrollbars=1,status=0,toolbar=0,top=0,left=0")';
eval(str4);
}
else
{
var str3='window.open("full1.html", "big", "height=480,width=640,titelbar=0,hotkeys=0,dependent=0,directories=0,fullscreen=1,location=0,menubar=0,scrollbars=1,status=0,toolbar=0")';
eval(str3);
}
}
//-->
</script>
Then apply this to a button or mc: getURL("javascript:big();")
(change the full1.html to your url.
-
 Originally Posted by xzerox_xzerox
There is a much simpler way. Just use this code in your html file:
Code:
<script language="JavaScript" type="text/javascript">
<!--
window.ver4 = false;
if(parseInt(navigator.appVersion) >= 4)
{
window.ver4 = true;
}
function big()
{
if(window.ver4)
{
var str4='bigWindow = window.open("full1.html", "big", "height=' + screen.height + ',width=' + screen.width + ',location=0,menubar=0,scrollbars=1,status=0,toolbar=0,top=0,left=0")';
eval(str4);
}
else
{
var str3='window.open("full1.html", "big", "height=480,width=640,titelbar=0,hotkeys=0,dependent=0,directories=0,fullscreen=1,location=0,menubar=0,scrollbars=1,status=0,toolbar=0")';
eval(str3);
}
}
//-->
</script>
Then apply this to a button or mc: getURL("javascript :big();")
(change the full1.html to your url.
Wouldn't using javascript to open a popup start the swf all over again? Does the fullscreen in fp 9 continue the playing of the swf or does it restart? Is the fullscreen in fp9 blocked by popup blockers? I'm still using Flash 8
-
 Originally Posted by Menzoic
Wouldn't using javascript to open a popup start the swf all over again? Does the fullscreen in fp 9 continue the playing of the swf or does it restart? Is the fullscreen in fp9 blocked by popup blockers? I'm still using Flash 8
As far as I know open a popup using javascript would start the swf all over again.
FP9 fullscreen continues to play the swf. It does not restart. What's also very nice is that you can define the rectangle that is going to be blown up to full screen.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|