Preloader inside animation!

Greeetings…
I have been around and around this for days and I can’t find an answer.
I’m a newbie in Flash and don’t seem to find a clear and above all, correct solution to my problem.
I’ve done a website 100% in Flash to which I added a preloader to the full animation.
All works fine. Once I finished inserting the photos album it became really slow to load the site. So I tried a lot of different things without success.

1- I used action script to load the movie. All is fine but it still takes time. Once the album is loaded we cannot press all the photo buttons or it will send us to first photos loaded. One minute later all xorks fine…but that time of loading is killing me.

1.2- I made a preloader inside the .fla of the album, but the movie doens’t play it nor it plays the album after. So, i got worst.

1.3- After reading some tutorials and forums I added some action script like this:

[SIZE=2][COLOR=Black]var [/COLOR][/SIZE][SIZE=2][COLOR=Black]barWidth [/COLOR][/SIZE][SIZE=2]= 200;
this.createEmptyMovieClip(“myMc”, this.getNextHighestDepht());
myMc.loadMovie(“url-to-swf/movie.swf”);
myMc.onEnterFrame = function() {
var loaded = this.getBytesLoaded();
var total = this.getBytesTotal();
var percent = loaded100/total;
percent = Math.round(getPercent)
this.loadBar._width = percent
barWidth/100;
this.loadText.text = percent+"%";[/SIZE]
}
Which didn’t work either. :frowning:

2- I went other way around. I put a second preloader inside the global .fla using this:

onClipEvent (load) {
total = this.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = this.getBytesLoaded ();
percent = int (loaded/total*100);
p= “”+percent+"%";
gotoAndStop(percent);
if (loaded == total) {
this.gotoAndPlay (2);
}
}

But although it works at the beginning using “_root” instead of “this”, here it does not work at all. It stays freez with message of the preloader “loading… 100%”.

I start to become desperate…can anyone help me please?
Some clear and effective answer?
Thank you all in advance.