# Delay when loading swf

**URL:** https://forum.kirupa.com/t/delay-when-loading-swf/121661
**Category:** Uncategorized
**Created:** [September 5, 2004, 9:02am UTC](https://forum.kirupa.com/t/delay-when-loading-swf/121661 "2004-09-05T09:02:57Z")
**Posts on this page:** 1
**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/121661/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!!!
