# Any way to activate Flash Fullscreen mode when flash movie loads in the browser

**URL:** <https://forum.kirupa.com/t/any-way-to-activate-flash-fullscreen-mode-when-flash-movie-loads-in-the-browser/240727>\
**Category:** flash\
**Created:** [October 5, 2007, 1:36pm UTC](https://forum.kirupa.com/t/any-way-to-activate-flash-fullscreen-mode-when-flash-movie-loads-in-the-browser/240727 "2007-10-05T13:36:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikasr](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@vikasr](https://forum.kirupa.com/u/vikasr)\
**Post date:** [October 5, 2007, 1:36pm UTC](https://forum.kirupa.com/t/any-way-to-activate-flash-fullscreen-mode-when-flash-movie-loads-in-the-browser/240727/1 "2007-10-05T13:36:17Z")

</div>

Hi all,  
I want to activate Flash Fullscreen mode when flash movie loads in the browser. Without activating it through button clicks.  
I tried for this using this type of code:  
function goFullScreen()  
{  
Stage[“displayState”] = “fullScreen”;  
}  
goFullScreen();  
But it is not working this way, it is working when I put this type of code:  
function goFullScreen()  
{  
Stage[“displayState”] = “fullScreen”;  
}  
button.onRelease=function()  
{  
goFullScreen();  
}  
thanks in advance,  
Vikas.
