A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Full Screen Movie?

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    4

    Full Screen Movie?

    I know this is probably a simple one..
    but what is the process involved in making a flash movie
    display full screen when the page is opened?

    Like for doing a complete website in flash -
    it is one movie - and I think it looks better when it is
    displayed full screen....just can't figure it out..

    thanks for any help,
    Jeremy

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    224
    Just use this code: You have two pages: 2_page is the fullscreen and 1_page is without fullscreen. The reason is because only IE 4 and higher allows fullscreen

    Code:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD /EN">
    <html>
    
    <head>
    <title>Title Here</title>
    </head>
    <script LANGUAGE="Javascript">
    <!-- //
    
    function intro()
    {
    	if ((navigator.appVersion.indexOf("Mac")!=-1) &&
    (navigator.userAgent.indexOf("MSIE")!=-1) &&
    (parseInt(navigator.appVersion)==4))
    	{
    	skip()
    	}
    	else 
    	{ 
    	popup()
    	}
    
    }
    function skip()
    {
    	location.href="1_page.html";
    }
    function popup()
    {
    	version = parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf('.')-1,navigator.appVersion.length));
    	if (version >= 4)
    	version = parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf('.')-1,navigator.appVersion.length));
    	if (version >= 4)
    	
    	{
    	if (navigator.appName=="Netscape")
    		{
    			
    			location.href="1_page.html";
    		
    		}
    		if (navigator.appName=="Microsoft Internet Explorer")
    		{
    			window.open("2_page.html","screen","fullscreen=yes");
    		}
    	}
    	else
    	{
    		location.href="1_page.html";
    	}
    
    
    }
    // -->
    </script>
    
    
    <body LINK="#000000" BGCOLOR="#000000" onLoad="intro()">
    </body>
    </html>

  3. #3
    Senior Moderator
    Defender of the Faith
    Pope de Flash's Avatar
    Join Date
    Feb 2000
    Posts
    3,429
    You will find a great tutorial at http://www.moock.org its called filling the browser. Regards, Bill

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center