# Position loaded movie

**URL:** <https://forum.kirupa.com/t/position-loaded-movie/180592>\
**Category:** Uncategorized\
**Created:** [March 1, 2006, 7:23pm UTC](https://forum.kirupa.com/t/position-loaded-movie/180592 "2006-03-01T19:23:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mucho](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@mucho](https://forum.kirupa.com/u/mucho)\
**Post date:** [March 1, 2006, 7:23pm UTC](https://forum.kirupa.com/t/position-loaded-movie/180592/1 "2006-03-01T19:23:01Z")

</div>

…has this been asked before…😉

is this possible?

```auto
menu_holder.loadMovie("menu.swf");

menu_holder._x = Math.round((Stage.width/2)-(menu_holder._width/2));
menu_holder._y = Math.round((Stage.height/2)-(menu_holder._height/2));
//
//------------------------------------------- Tell it that when ever the borwser is resized to move this box so that it stays in the same spot.
menu_holder.onResize = function() {
	menu_holder._x = Math.round((Stage.width/2)-(menu_holder._width/2));
	menu_holder._y = Math.round((Stage.height/2)-(menu_holder._height/2));
};
Stage.addListener(box2);
menu_holder.onResize();

```

thx,  
m.
