# Border Around Site

**URL:** <https://forum.kirupa.com/t/border-around-site/170673>\
**Category:** flash\
**Created:** [November 28, 2005, 7:13pm UTC](https://forum.kirupa.com/t/border-around-site/170673 "2005-11-28T19:13:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EIlves](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@EIlves](https://forum.kirupa.com/u/EIlves)\
**Post date:** [November 28, 2005, 7:13pm UTC](https://forum.kirupa.com/t/border-around-site/170673/1 "2005-11-28T19:13:54Z")

</div>

Hey guys, I would like to have a border around the browser inner window. I created four MC’s and added the following AS:

mcBorderTop.\_y = 0;  
mcBorderTop.\_width = Stage.width;  
mcBorderLeft.\_x = 0;  
mcBorderLeft.\_y = 0;  
mcBorderLeft.\_height = Stage.height;  
mcBorderLow.\_x = 0;  
mcBorderLow.\_y = Stage.height - 4;  
mcBorderLow.\_width = Stage.width;  
mcBorderRight.\_x = Stage.width - 4;  
mcBorderRight.\_y = 0;  
mcBorderRight.\_height = Stage.height;

… and a listener in case user resizes the browser window. Is there a more resource efficient way to achive this? Maybe somehow with a shape border?

Thanks
