Preloading on multiple movie clips

Hello everyone. I have a working preloader that I made using the get bytes total method. This then alters the length of my loading bar in the x direction. If I recreate this exactly on let’s say an swf file that I want to load into the main movie, it doesn’t work! the bar doesn’t show the progress and it completely skips my commands. Has anyone else here encountered the same problem?

Thanks in advance.

one cause might be if you are using _root. at any point in your code. If you are, then the swf that you’re loading in will be using data from the main .swf rather than from itself.

ah, thank you. I’ll try it out and see if it makes a difference, I’m sure it will as I can see how stupid my error was.