Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Auto-Full screen

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


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Flash CS3 eng

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 29-09-08, 06:15
Junior Member
 
Join Date: Jul 2007
Posts: 27
Rep Power: 0
Zombie is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 29-09-08, 16:50
Onsitus's Avatar
CSS.FlepStudio.org
 
Join Date: Jul 2007
Location: Nettuno Beach
Posts: 1,012
Rep Power: 3
Onsitus is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 29-09-08, 17:15
Junior Member
 
Join Date: Jul 2007
Posts: 27
Rep Power: 0
Zombie is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 29-09-08, 17:27
Junior Member
 
Join Date: Jul 2007
Posts: 27
Rep Power: 0
Zombie is on a distinguished road
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);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 30-09-08, 08:13
Onsitus's Avatar
CSS.FlepStudio.org
 
Join Date: Jul 2007
Location: Nettuno Beach
Posts: 1,012
Rep Power: 3
Onsitus is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #6 (permalink)  
Old 01-10-08, 02:22
Junior Member
 
Join Date: Jul 2007
Posts: 27
Rep Power: 0
Zombie is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 01-10-08, 08:07
Onsitus's Avatar
CSS.FlepStudio.org
 
Join Date: Jul 2007
Location: Nettuno Beach
Posts: 1,012
Rep Power: 3
Onsitus is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Galleria immagini full screen Flep Utilità di FlepStudio 12 20-11-08 17:37
FLVPlayback full screen - mantenere le proporzioni Eugene Componenti 0 02-09-08 19:48
Actionscript 3 preload full screen derek_z Actionscript 3.0 avanzato 0 02-09-08 12:17
Componente AUTO-SAVE Flash CS3 zizzolo Componenti 2 15-10-07 16:36
Sito Web full screen ad ogni visualizzazione JohnnyC Actionscript 3.0 avanzato 1 14-10-07 13:58


All times are GMT. The time now is 16:23.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406