Loading external swf preloader problem

I’m trying to load an external swf into a clip on the timeline instance name “bildspel”

using [AS]bildspel.loadMovie(“reklam.swf”);[/AS]

the movie loads to 100% and then it stops.
but when I go back in my main movie, and goes to the
loadMovie frame again (external swf has been preloaded once)
it runs the external swf, without problem.

I think I must have done something wrong somewhere but I can’t find it. I belive the problem is in the preloader script of reklam.swf which I’ve added below.

[AS]
stop();
onEnterFrame = function() {
l = this.getBytesLoaded();
t = this.getBytesTotal();
per = Math.ceil(Math.round(l/t100));
bar._width = per
2;//bar width total 200
if (per>99 && t != 0) {
gotoAndStop(2);
delete this.onEnterFrame;
}
};
[/AS]

I’m going crazy over this so if you have any suggestions, please reply

/Hessarp