gotoAndStop(scene_variable, 1);
if I do this I get an error saying the first value must be a quoted string,
but if i type it as "scene_variable", it looks for a scene called
"scene_variable"
anyone know how to do this???
funkme - 30 Sep 2005 22:47 GMT
you cannot gotoAndStop to a scene via a variable
try this one
button1.onPress=function(){
_root.scn=1;
}
//and then in some distant frame (because i guess u want to go to another
scene after some animation has been played)
switch(_root.scn){
case 1: gotoAndStop("scene1",1);
case 2: gotoAndStop("scene2",1);
//and so on
}