[MX2004] ***HELP*** Transition Actionscript problem

Hey guys, this is my first post here, and i hope not to be the last
Alright, i’m fairly new to actionscript, and i’ve been plugging away at this for a while. here goes :

I have my navigation with a bunch of buttons, on these buttons is the script
myclip.swf is whatever swf i want loaded in the transition

[left]

on(release){[/left]
if(!going){
clipToLoad = "myclip.swf"
trans.play();
}
}

Now, i have a transition set up in a movie clip that loads the desired swf when i click the corresponding button, the as looks like this


[left]stop();[/left]
movieHolder.loadMovie(_parent.clipToLoad)
onEnterFrame = function(){
togo = movieHolder.getBytesTotal()
sofar = movieHolder.getBytesLoaded();
if(sofar == togo){
play()
delete onEnterFrame
}else{
perc = Math.round((sofar / togo) * 100)
loadBar.gotoAndStop(perc);
}
}
 
 

Now, i have a loading bar MC created with the instance name of loadBar and in it the animation spans from frame 1 - 100, hence the code above, and in the transition movie clip it is above all other layers. Now, when i click my button to load the swf, the transition effect plays, but no load bar comes up and plays. it just stays at the blank transition screen until the swf is loaded, then plays out the rest of the animation revealing the swf underneath. Any clues on to what im doing wrong? I could probably even supply the .fla!

Help greatly appreciated
thanks.