# Preloader error

**URL:** <https://forum.kirupa.com/t/preloader-error/1739>\
**Category:** flash\
**Created:** [June 2, 2002, 8:14pm UTC](https://forum.kirupa.com/t/preloader-error/1739 "2002-06-02T20:14:51Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [June 2, 2002, 8:14pm UTC](https://forum.kirupa.com/t/preloader-error/1739/1 "2002-06-02T20:14:51Z")

</div>

i am building a full flash site and am using the code:\r\rbut.onPress = function() {\r&nbsp &nbsp &nbsp &nbsp \_root.createEmptyMovieClip(“container”, 1);\r&nbsp &nbsp &nbsp &nbsp loadMovie(“main.swf”, “container”);\r&nbsp &nbsp &nbsp &nbsp container.\_x = 30;\r&nbsp &nbsp &nbsp &nbsp container.\_y = 30;\r\rto make a swf file appear when i click a button…however, i have a preloader attached to “main.swf” and when it launches it launches the preolaer animation and stops. it does not preceeed to the info beyond the preloader…the preloader i am using has worked before but not in the capacity, do u need to do something special, or what will make this work?.. thank you

---

<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:** [June 2, 2002, 10:59pm UTC](https://forum.kirupa.com/t/preloader-error/1739/2 "2002-06-02T22:59:08Z")

</div>

Do you have an action out of place, such as a “stop” or “goto” action by any chance at the end of the preloader? I only ask because I have a tendency to do this when I am testing pages to make sure they are doing what I want…so I sometimes have a “stop” action so it doesn’t loop when viewing…

---

<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:** [June 3, 2002, 12:16am UTC](https://forum.kirupa.com/t/preloader-error/1739/3 "2002-06-03T00:16:47Z")

</div>

no, it dosent work if i run it through my site like it would on the net…it works if i run the swf seperatly.
