# Why did my movie shrink?

**URL:** <https://forum.kirupa.com/t/why-did-my-movie-shrink/116681>\
**Category:** Uncategorized\
**Created:** [July 20, 2004, 3:36pm UTC](https://forum.kirupa.com/t/why-did-my-movie-shrink/116681 "2004-07-20T15:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cv0x](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@cv0x](https://forum.kirupa.com/u/cv0x)\
**Post date:** [July 20, 2004, 3:36pm UTC](https://forum.kirupa.com/t/why-did-my-movie-shrink/116681/1 "2004-07-20T15:36:46Z")

</div>

I modified the preloader from the kirupa tutorial for the load bar and percentage to allow the preloading of an external swf. My only problem is that the external swf file that is loaded in the createEmptyMovieClip shrinks and is not the same size as main frame.

```php
  
 

this.createEmptyMovieClip("tutorial",1);
tutorial.loadMovie("recruiter2.swf");
this.onEnterFrame = function () {
 bytes_loaded = Math.round(this.tutorial.getBytesLoaded());
 bytes_total = Math.round(this.tutorial.getBytesTotal());
 getPercent = bytes_loaded/bytes_total;
 _root.loadBar._width = getPercent*100;
 _root.loadText = "Preloading " + Math.round(getPercent*100)+"%";
 if (bytes_loaded == bytes_total) {
  _root.play();
 }
}

 

```

Anyone know what’s up?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2004, 3:58pm UTC](https://forum.kirupa.com/t/why-did-my-movie-shrink/116681/2 "2004-07-20T15:58:04Z")

</div>

Have you tried:

```auto
this.createEmptyMovieClip("tutorial", 1);
tutorial.loadMovie("recruiter2.swf");
**this.tutorial._width = [recruiter2.swf width];
this.tutorial._height = [recruiter2.swf height];**...

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2004, 4:07pm UTC](https://forum.kirupa.com/t/why-did-my-movie-shrink/116681/3 "2004-07-20T16:07:15Z")

</div>

Well the size of it should be 800 x 600 everytime I seem to set it to that size the screen goes totally white but I can still hear sound so I know it’s playing. It’s just not on the root frame.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 20, 2004, 4:11pm UTC](https://forum.kirupa.com/t/why-did-my-movie-shrink/116681/4 "2004-07-20T16:11:31Z")

</div>

Ok I just started over and put it in a new fla document and it works fine. That’s really weird.
