# Prevent/not scale controlbar in fullscreen mode

**URL:** <https://forum.kirupa.com/t/prevent-not-scale-controlbar-in-fullscreen-mode/246887>\
**Category:** flash\
**Created:** [December 15, 2007, 10:44pm UTC](https://forum.kirupa.com/t/prevent-not-scale-controlbar-in-fullscreen-mode/246887 "2007-12-15T22:44:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seattlegrunge](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@seattlegrunge](https://forum.kirupa.com/u/seattlegrunge)\
**Post date:** [December 15, 2007, 10:44pm UTC](https://forum.kirupa.com/t/prevent-not-scale-controlbar-in-fullscreen-mode/246887/1 "2007-12-15T22:44:00Z")

</div>

Hi all!  
My first post here ![](http://forum.kirupa.com/uploads/kirupa/4187/77fb0e195ffd970c.gif)

I have been searching for a solution here at [kirupa.com](http://kirupa.com) and many other forums, but haven’t found the right one yet ![](http://forum.kirupa.com/uploads/kirupa/4188/cbed3b3e339d9d56.gif)  
The thing is that I used a flv player tutorial and have created a fully customized flv player and it works great except for one thing. When I added a fullscreen mode I use the scaleMode called showAll. It works great, the movie clips scales perfectly on both regular screens and widescreens.  
One thing that I haven’t solved yet is that I do not want my controlbar (play, pause, scrub etc) to scale up like the rest of the movie. I want it just as small (the same proportions/size) as in the small video window. How do I do that? I have seen on many other flv players, such as YouTube, that they get a 100% wide controlbar at the lowest bottom of the monitor, with the same size of the buttons, just the loadbar with the scrub resizing in width. Maybe that’s a solution? Anyway, I just want my controlbar in fullscreen mode as small as in the small window mode. How do I do that? I have tried a couple of solutions but it hasn’t worked ![](http://forum.kirupa.com/uploads/kirupa/4188/cbed3b3e339d9d56.gif)  
My code for toggling between screen sizes is below. Thanks in advance guys!

```auto
Stage.scaleMode = "showAll";
Stage.showMenu = true;

function toggleFullScreen(){
   if(Stage["displayState"]=="normal"){
      Stage["displayState"]="fullScreen";
   }else{
      Stage["displayState"]="normal";
   }
}

ctrlbar.fullScreenBtn.onRelease = function(){
   toggleFullScreen();
}

function resizeHandler(){
   theVideo._height = Stage.height;
   theVideo._width = Stage.width;
}
resizeHandler();
var stageResize:Object = new Object();
stageResize.onResize = function(){
   resizeHandler();
}
Stage.addListener(stageResize);

```
