Preloading external SWF alpha issue

Please take a look at my code, as far as I can tell it looks correct. The preloader mc is set to alpha = 0, and the swf mc container is set to alpha = 100 when the external swf is completely loaded. But the preloader mc remains invisible the entire time, if I comment out the line in red the preloader mc remains visible the entire time, it doesn’t turn invisible when the % loaded reaches 100.

Flash CS4, Player 7, AS 2.0

Any thoughts.

//working
this.loading_mc.stop();

//Making container invisible in the beginning
this.mainMovieContainer_mc._alpha = 0;
this.loading_mc._alpha = 100;
this.mainMovieContainer_mc.loadMovie(“mainMoviePt1.swf”);

this.onEnterFrame = function() {

var total = this.mainMovieContainer_mc.getBytesTotal();
var loaded = this.mainMovieContainer_mc.getBytesLoaded();
var percent = Math.round((loaded/total)*100);
this.loading_mc.gotoAndStop(percent);
//trace(percent);

if (percent >= 100) {
[COLOR=red]this.loading_mc._alpha = 0;[/COLOR]
this.mainMovieContainer_mc._alpha = 100;
}

if(this.mainMovieContainer_mc.mainMoviePt1_mc._currentframe == 48)
{
this.mainMovieContainer_mc.mainMoviePt1_mc.stop();
}
}