Preloading jpegs at the same time

this is the script on my banner preloader mc. when i preview swf on flash preloader dissappears and percentage stops at 0. what is the problem on this?


onClipEvent (load)
{
    _parent.mc1.loadMovie("../images/banner_01.jpg");
    _parent.mc2.loadMovie("../images/banner_02.jpg");
}
onClipEvent (enterFrame)
{
    total = _parent.mc1.getBytesTotal() + _parent.mc2.getBytesTotal();
    loaded = _parent.mc1.getBytesLoaded() + _parent.mc2.getBytesLoaded();
    percent = int(loaded / total *100);
    
    this.percent = percent + "%";
    
        if (loaded==total) {
            _parent.gotoAndPlay(2);
        } 
        
        }