I have this really simple actionscript function and for the life of me i cannot figure out the correct way to pass in the frame reference name!
function gotoNextStage(stageToPlay:String) {
_root.gotoAndStop(stageToPlay);
}
Obviously this line is the problem: _root.gotoAndStop(stageToPlay);
I’m trying to call the function as such gotoNextStage(“frameReferenceHere”);