# Html flash embed help

**URL:** <https://forum.kirupa.com/t/html-flash-embed-help/317334>\
**Category:** Uncategorized\
**Created:** [December 16, 2010, 11:41pm UTC](https://forum.kirupa.com/t/html-flash-embed-help/317334 "2010-12-16T23:41:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [December 16, 2010, 11:41pm UTC](https://forum.kirupa.com/t/html-flash-embed-help/317334/1 "2010-12-16T23:41:20Z")

</div>

Take a look here:

> **[Free Web Hosting - Your Website need to be migrated](https://www.000webhost.com/migrate?static=true)**
>
> Absolutely Free Web Hosting with PHP, MySQL, cPanel and no Ads!

just an example of a movieclip 1000x600px, nothing else on stage.

this is the code from the flash, so i want it centered:

```auto
stage.align = "topLeft";
stage.scaleMode = "noScale";

stage.addEventListener(Event.RESIZE, onResizeS);

function onResizeS(e:Event):void{
    mc.x = (stage.stageWidth / 2 - mc.width / 2);
    mc.y = (stage.stageHeight / 2 - mc.height / 2);
}

onResizeS(null)

```

why does it show me vertical scrollbar?

what do i need to set in html style so that the scrollbars are hidden, and show **only** if window size get smaller than flash size (in this case 1000x600px)
