# loadMovie + scope? problem

**URL:** https://forum.kirupa.com/t/loadmovie-scope-problem/298710
**Category:** flash
**Created:** [October 23, 2009, 1:26pm UTC](https://forum.kirupa.com/t/loadmovie-scope-problem/298710 "2009-10-23T13:26:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michaelus82](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@michaelus82](https://forum.kirupa.com/u/michaelus82)
#### Post date: [October 23, 2009, 1:26pm UTC](https://forum.kirupa.com/t/loadmovie-scope-problem/298710/1 "2009-10-23T13:26:47Z")

</div>

Hello again.  
i have a strange problem with loadMovie and dynamic sizing of the holder movieclip. can anyone suggest what am i doing wrong please?

i have a function to resize the holder movie clip

```auto
function backSize() {
    myBack._width = Stage.width;
    myBack._height = Stage.height;

```

i also run this function on stage resize

```auto
resizeListener = new Object();
resizeListener.onResize = function() {
    backSize();
};
Stage.addListener(resizeListener);
backSize();

```

now, when i call a loadMovie and try to load a SWF (2000x2000px) it doesnt resize until i try to resize browser.

```auto
 myBack.loadMovie("name.swf",0);

```

any ideas?
