# Preload problem

**URL:** <https://forum.kirupa.com/t/preload-problem/43014>\
**Category:** Uncategorized\
**Created:** [February 17, 2004, 11:25pm UTC](https://forum.kirupa.com/t/preload-problem/43014 "2004-02-17T23:25:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Hed](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Rob\_Hed](https://forum.kirupa.com/u/Rob_Hed)\
**Post date:** [February 17, 2004, 11:25pm UTC](https://forum.kirupa.com/t/preload-problem/43014/1 "2004-02-17T23:25:10Z")

</div>

I am using some actionscript that loads swf like a photogallery. It works great! But when i add a preloader to the swf file being loaded, it doesn’t appear. However it does work when i link to it directly ([http://www.neteclipse.com/images/3dvid2.swf](http://www.neteclipse.com/images/3dvid2.swf)) I am stumped.

The Site is [www.neteclipse.com](http://www.neteclipse.com) and go to the 3d video section under portfolio. The videos come up but it need the preloader.

P.S. Make sure you have broadband  
any ideas?

---

<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:** [February 18, 2004, 11:19am UTC](https://forum.kirupa.com/t/preload-problem/43014/2 "2004-02-18T11:19:24Z")

</div>

Are you using components? If you are, search the forums for similar problems, it has been explained numerous times.

Otherwise you may need to check your code or post your fla.

---

<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:** [February 18, 2004, 2:53pm UTC](https://forum.kirupa.com/t/preload-problem/43014/3 "2004-02-18T14:53:52Z")

</div>

Check your paths. If you’ve used \_root, that’s where your problem is. When loading an swf into another, \_root will target the main timeline of the host movie for the main movie and everything inside it.

---

<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:** [February 19, 2004, 10:04pm UTC](https://forum.kirupa.com/t/preload-problem/43014/4 "2004-02-19T22:04:00Z")

</div>

i bet its a path problem

---

<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:** [February 20, 2004, 12:18am UTC](https://forum.kirupa.com/t/preload-problem/43014/5 "2004-02-20T00:18:59Z")

</div>

Are you loading into movieclips or \_x and \_y positions? If you 're loading into clips then use the “this” keyword, ie  
[AS]  
onClipEvent(enterFrame){  
loadedBytes = this.getBytesLoaded();  
totalBytes = this.getBytesTotal();  
}  
[/AS]

---

<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:** [February 20, 2004, 12:51am UTC](https://forum.kirupa.com/t/preload-problem/43014/6 "2004-02-20T00:51:57Z")

</div>

thanks Carixpig. I did that and i took out any \_root I saw and it worked! Excellent…i am very happy that is working.

Thanks to all for your help!

P.S. Did any of you look at the site. It is only partly done but any thoughts on the design? I still have sound, contact page, and the portfolio page is only partly done. The home page is lame also but other than that.
