# Delay when loading swf

**URL:** <https://forum.kirupa.com/t/delay-when-loading-swf/63315>\
**Category:** flash\
**Created:** [September 5, 2004, 9:02am UTC](https://forum.kirupa.com/t/delay-when-loading-swf/63315 "2004-09-05T09:02:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blowfish](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/blowfish/32/744_2.png) [@Blowfish](https://forum.kirupa.com/u/Blowfish)\
**Post date:** [September 5, 2004, 9:02am UTC](https://forum.kirupa.com/t/delay-when-loading-swf/63315/1 "2004-09-05T09:02:57Z")

</div>

Hello everybody,

Im working on my new website:

[http://fc.berghs.se/~dejan.mauzer/dodov1/](http://fc.berghs.se/~dejan.mauzer/dodov1/)

and i havnt come across any problem so far until for just a few days ago.  
Im using this command on my buttons in the portfolio:

on (release) {  
\_root.holder.loadMovie(“port7.swf”, this);  
}

and it has work fine until this week. When im testing it on my comp. it works fine, and it has done so even _live_ on the server, but now, when i publish it on the server it gets a delay whenever i press one of the portfolio buttons…like, it u want to see the first image on the blue bar, u klick…and then it takes between 3-4 sec before the preloader kicks in and even the preloader is wack.

My preloader has this command:

if (\_root.holder.gLoaded\>=100) {  
\_root.holder.gotoAndStop(4);  
} else {  
\_root.holder.gotoAndPlay(1);  
}

(aditional code on the grafic)

and my holder MC only go a emty frame.  
When i talk to my friens and make them test the site, they say that they also have a delay but only for 1 sec or so. And it have worked before this week!!!

Plz plz plz plz help me…i havent changed anything since i first got it to work.

It would be nice if u also could send the replay to my email: [dejan.mauzer@berghs.se](mailto:dejan.mauzer@berghs.se)

Thanx!!!

---

<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:** [September 6, 2004, 3:10am UTC](https://forum.kirupa.com/t/delay-when-loading-swf/63315/2 "2004-09-06T03:10:55Z")

</div>

Hmm, I didn’t have a problem. There was no delay. If you want email notification, look @ your preference settings for your Kirupa account.
