# Vertical Scroll Bar missing in browser

**URL:** <https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541>\
**Category:** flash\
**Created:** [June 6, 2008, 8:12pm UTC](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541 "2008-06-06T20:12:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulcybulski](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Post date:** [June 6, 2008, 8:12pm UTC](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541/1 "2008-06-06T20:12:13Z")

</div>

I am trying to get my flash site to not scale/resize when the window is resized…but I also want it to stay centered on the page…the centering part I have figured out, and I also have the no scaling part figured out…however when you make the browser window smaller…the bottom of my swf gets cut off an no vertical scroll bar shows up in my browser window…

Within my flash movie…I have

Stage.align = “T”;  
Stage.scaleMode = “noScale”;

I am using SWFobject to embed my swf to HTML…and here is the line that does it…I think this is where my problem lies, but I am not sure…please help?

var so = new SWFObject(“flash.swf”, “eXfX”, “100%”, “100%”, “8”, “#ffffff”);  
so.write(“flashcontent”);

---

<div class="post-metadata">

**Author:** ![bpdp](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@bpdp](https://forum.kirupa.com/u/bpdp)\
**Post date:** [June 6, 2008, 11:12pm UTC](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541/2 "2008-06-06T23:12:30Z")

</div>

changing the height to a pixel value will work. ie:

var so = new SWFObject(“flash.swf”, “eXfX”, “100%”, “900px”, “8”, “#ffffff”);  
so.write(“flashcontent”);

But if it doesn’t work for your project try setting the “overflow” property with css. not sure if that works or not haven’t tried it.
