# Preloader component for external swf

**URL:** <https://forum.kirupa.com/t/preloader-component-for-external-swf/24877>\
**Category:** Uncategorized\
**Created:** [July 6, 2003, 5:02pm UTC](https://forum.kirupa.com/t/preloader-component-for-external-swf/24877 "2003-07-06T17:02:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![filmshootz](https://avatars.discourse-cdn.com/v4/letter/f/ce73a5/32.png) [@filmshootz](https://forum.kirupa.com/u/filmshootz)\
**Post date:** [July 6, 2003, 5:02pm UTC](https://forum.kirupa.com/t/preloader-component-for-external-swf/24877/1 "2003-07-06T17:02:37Z")

</div>

How can I use the preloader component to load an external swf? where do I place it, on the emptymc or the external swf? Do I need to place an actionscript? Any help would be great. thanks

---

<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 6, 2003, 7:28pm UTC](https://forum.kirupa.com/t/preloader-component-for-external-swf/24877/2 "2003-07-06T19:28:31Z")

</div>

the preloader should go in the external swf… in its own scene usually in the external swf…

and instead of \_root.getBytesLoaded() and \_root.getBytesTotal(); I use this.getBytesLoaded() and this.getBytesTotal

“this” is assuming u are loading the external swf in an empty movieclip somewhere in the “main” swf :crazy:

-Aditya  
:thumb:

---

<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 7, 2003, 4:46pm UTC](https://forum.kirupa.com/t/preloader-component-for-external-swf/24877/3 "2003-07-07T16:46:11Z")

</div>

what about  
\_root.gotoAndPlay(\_currentframe+1);

does this line stay the same?
