Publishing in Flash 7 broke my preloader! HELP!

Hey Guys,

I’m a pretty basic flash designer and am learning as I go. I created a whole site in mx 2004 and published for Flash player 6. Recently, I wanted to use the flv streaming cababilities in the Flash 7 player so I switched to publish for that. The problem is that it seemed to break my preloader. As in, it flashes on the screen then goes to my first scene which stays blank because its not loaded. I have a base swf that is very small, then I use loadMovie() to call my main swf which has a simple preloader in a movie clip that uses this code:

onClipEvent (enterFrame) {
total = Math.round(_parent.getBytesTotal());
loading = Math.round(_parent.getBytesLoaded());
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>=99) {
_level1.gotoAndStop(2)
}
}

If I switch back to publish in flash 6 it works again. Thanks for any help!!! It’s driving me nuts…

Marc