# Preload won't work when image is inserted

**URL:** <https://forum.kirupa.com/t/preload-wont-work-when-image-is-inserted/186756>\
**Category:** flash\
**Created:** [April 24, 2006, 11:41am UTC](https://forum.kirupa.com/t/preload-wont-work-when-image-is-inserted/186756 "2006-04-24T11:41:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SessionDesign](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/sessiondesign/32/1887_2.png) [@SessionDesign](https://forum.kirupa.com/u/SessionDesign)\
**Post date:** [April 24, 2006, 11:41am UTC](https://forum.kirupa.com/t/preload-wont-work-when-image-is-inserted/186756/1 "2006-04-24T11:41:49Z")

</div>

Hi,

I’ve made this preloader, but as soon as i put the image in a new layer in the first frame and test the flash file, it refuse to display the preload sequence. When i tried to put the image in frame 2 it would display 4 percent loading, but it stops there. It stills loads flash file though… Why does this happen?! :puzzled:

---

<div class="post-metadata">

**Author:** ![Mirandir](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Mirandir](https://forum.kirupa.com/u/Mirandir)\
**Post date:** [April 24, 2006, 11:58am UTC](https://forum.kirupa.com/t/preload-wont-work-when-image-is-inserted/186756/2 "2006-04-24T11:58:06Z")

</div>

Since your preloader also uses frame 2 (It’s a gotoAndPlay(1) that makes the preloader loop) the image should start at frame 3.

/Mirandir

---

<div class="post-metadata">

**Author:** ![SessionDesign](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/sessiondesign/32/1887_2.png) [@SessionDesign](https://forum.kirupa.com/u/SessionDesign)\
**Post date:** [April 25, 2006, 8:51am UTC](https://forum.kirupa.com/t/preload-wont-work-when-image-is-inserted/186756/3 "2006-04-25T08:51:51Z")

</div>

thanx for your reply! 🙂 So that means if i want a image in my preloader i would have to use a different preloader…? :\*(

---

<div class="post-metadata">

**Author:** ![Mirandir](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Mirandir](https://forum.kirupa.com/u/Mirandir)\
**Post date:** [April 25, 2006, 10:48am UTC](https://forum.kirupa.com/t/preload-wont-work-when-image-is-inserted/186756/4 "2006-04-25T10:48:27Z")

</div>

Well it depends. As it is now that image is over 90% of the filesize. Actually the image is almost the only thing the preloader has to load. If there is going to be a lot more content I think you should that for now. Then you go back and decide what to actually do with the preloader.

/Mirandir
