Problem with preloader

Hi everyone,

I’m having a problem with my preloader.

The preloader contains 2 keyframes and looks like this.

KEYFRAME 1

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100)add “% loaded”;
ifFrameLoaded (“content”, 92) {
gotoAndPlay(“content”, 1);
}

KEYFRAME 2

gotoAndPlay(1);

This works without problems as long as the preloader stays on KEYFRAME1 and KEYFRAME 2.

I have an animation first and will be putting my preloader into a movieclip.
When I try to do this, The preloader doesn’t show at all, and it doesn’t go to the next scene either.

Maybe someone can help me? I would appreciate it.

Thank you,

Filip