possible solution > 123webwizard
As far as I've understood your problem, I think it can be resolved with a very simple approach.
------------------------------------------------------
Step1:
------------------------------------------------------
Make a movie clip and give it an instance name > "button_mc"
------------------------------------------------------
Step2:
------------------------------------------------------
Put the following actions scriplet into a seperate frame/-layer in your _root.
// button routine
button_mc.onPress = function() {
var cframe = _root._currentframe;
if (cframe == 20) {
trace("Current frame is: "+cframe);
// gotoAndPlay(30);
// or any frame label to jump to
} else if (cframe == 10) { //else if's to ur taste :)
trace("Current frame is: "+cframe);
} else {
trace("Any frame!");
}
};
------------------------------------------------------
Step3:
------------------------------------------------------
Extend your movie to any number of frames. Make/Change the frame numbers in the above scriplet to suit your movie.
adios B~)