+ Reply to Thread
Results 1 to 7 of 7

Auto-Full screen

This is a discussion on Auto-Full screen within the Flash English forums, part of the Flash CS3 - CS4 - CS5 category; Is there a way to make flash fullscreen automatically? someone goes to the website, and instantly becomes fullscreen? is there ...

  1. #1
    Member Settled In Zombie is on a distinguished road
    Join Date
    Jul 2007
    Posts
    37
    Rep Power
    0

    Auto-Full screen

    Is there a way to make flash fullscreen automatically? someone goes to the website, and instantly becomes fullscreen? is there any way to do this in any version of actionscript, or does anyone have any idea how to do this with anything else??

    all I need is one image to be fullscreened basically to start with, if anyone has any ideas, please let me know, thanks!

    thanks

  2. #2
    CSS.FlepStudio.org Moving My Stuff To The FlepStudio Onsitus is on a distinguished road Onsitus's Avatar
    Join Date
    Jul 2007
    Posts
    1,436
    Rep Power
    7

    Re: Auto-Full screen

    Hi

    do you mean the swf at 100% like explained here or the type of windows with no 'bar' around it. I can't remember the right word for it, chromeless type windows done in javascript.

  3. #3
    Member Settled In Zombie is on a distinguished road
    Join Date
    Jul 2007
    Posts
    37
    Rep Power
    0

    Re: Auto-Full screen

    Quote Originally Posted by Onsitus View Post
    Hi

    do you mean the swf at 100% like explained here or the type of windows with no 'bar' around it. I can't remember the right word for it, chromeless type windows done in javascript.
    Yeah I want it fullscreened automatically without any bar, I don't want it to appear like its just containted within the browser

  4. #4
    Member Settled In Zombie is on a distinguished road
    Join Date
    Jul 2007
    Posts
    37
    Rep Power
    0

    Re: Auto-Full screen

    okay I found a tutorial on how to make a 100% fullscreen flash movie in browser, however, I dont know how to initiate fullscreen automatically without pressing a button, here is the code..

    Code:
    function toggleFullScreen(event:MouseEvent):void
    {
    	//trace("displayState="+this.stage.displayState);
    	if (this.stage.displayState == StageDisplayState.FULL_SCREEN)
    		this.stage.displayState=StageDisplayState.NORMAL;
    	else
    		this.stage.displayState=StageDisplayState.FULL_SCREEN;	
    	//this.parent.textField.text=this.stage.displayState;
    }
    
    function onFullScreen(fullScreenEvent:FullScreenEvent):void
    {
    	var bFullScreen=fullScreenEvent.fullScreen;
    	if (bFullScreen)
    	{
    		// do something  here when the display changes		
    	}
    	else
    	{
    		// bla.. bla..
    	}
    	// here I am just printing the display state into a text field
    	this.textField.text=this.stage.displayState;		
    }
    
    toggleButton.addEventListener(MouseEvent.CLICK, toggleFullScreen);
    toggleButton.stage.addEventListener(FullScreenEvent.FULL_SCREEN, onFullScreen);

  5. #5
    CSS.FlepStudio.org Moving My Stuff To The FlepStudio Onsitus is on a distinguished road Onsitus's Avatar
    Join Date
    Jul 2007
    Posts
    1,436
    Rep Power
    7

    Re: Auto-Full screen

    Hi,

    I was reading this article (http://blog.augitaly.com/2007/07/full_screen_in_flash_cs_3_e_ac.html - sorry but it is in italian).

    Anyway, it is the same code that you posted and the one who wrote the article answered to a guy with the same request as you that it can only be associated to a button as specified in the guide Flex/flash cs3.

    In javascript there is the window.open with the parameter fullscreen which can be used when the initial page is loaded...never used it so I don't know if it can be of any help.

  6. #6
    Member Settled In Zombie is on a distinguished road
    Join Date
    Jul 2007
    Posts
    37
    Rep Power
    0

    Smile Re: Auto-Full screen

    Yes I did read that thing about some security implementation in flash in which it requires the user to press a button to initiate full screen

    I thought I had found a loophole, as I made it launch automatically locally, but when its uploaded it will not launch fullscreen automatically :(

    thats really too bad, I wanted to play some tricks on people

    you know, a fake little "virus install" animation, and automatically fullscreen initiates with the "blue screen of death" image

  7. #7
    CSS.FlepStudio.org Moving My Stuff To The FlepStudio Onsitus is on a distinguished road Onsitus's Avatar
    Join Date
    Jul 2007
    Posts
    1,436
    Rep Power
    7

    Re: Auto-Full screen

    Quote Originally Posted by Zombie View Post
    Yes I did read that thing about some security implementation in flash in which it requires the user to press a button to initiate full screen

    I thought I had found a loophole, as I made it launch automatically locally, but when its uploaded it will not launch fullscreen automatically :(

    thats really too bad, I wanted to play some tricks on people

    you know, a fake little "virus install" animation, and automatically fullscreen initiates with the "blue screen of death" image

+ Reply to Thread

Similar Threads

  1. full screen vs MC's
    By fouadov in forum Flash English
    Replies: 1
    Last Post: 24-05-10, 09:40
  2. Galleria immagini full screen
    By Flep in forum Utilitą di FlepStudio
    Replies: 40
    Last Post: 08-03-10, 09:24
  3. FLV ridimensionati in full screen
    By finalday in forum Actionscript 3.0 avanzato
    Replies: 25
    Last Post: 25-09-09, 11:02
  4. Full screen video/actionscript 2.0
    By xFlashStudentx in forum Flash English
    Replies: 0
    Last Post: 10-12-08, 18:37
  5. preload full screen
    By derek_z in forum Actionscript 3.0 avanzato
    Replies: 0
    Last Post: 02-09-08, 11:17

Tags for this Thread

Bookmarks

Posting Permissions

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