Maybe i'm being dense but your code doesn't seem to make sense.
When you have :
code:
_root.rightButtonMC.goButton.onRelease = function() {
_root.loadSection(_root.bounceLeft());
//_root.bounceLeft();
};
It WILL run the _root.bounceLeft() function. It's expecting to pass to _root.loadSection() whatever _root.bounceLeft() returns.
What you need instead I think is this:
code:
_root.rightButtonMC.goButton.onRelease = function() {
_root.loadSection("_root.bounceLeft");
//_root.bounceLeft();
};
then you need:
code:
loadSection = function(bump){
_root.frontMC.play();
_root.frontMC.onEnterFrame = function(){
if(_root.frontMC._currentframe == 4){
_root.frontMC.stop();
eval(bump);
_root.frontMC.onEnterFrame = null;
}
}
}
Give that a go!