This has got to be an easy one.
I need the movie to goto a random scene (they are all named scene1, scene2 etc) I generate a random number (n) and try
_root.gotoAndPlay(“Scene” + n, 1);
I also tried var temp = eval(“Secen” + n); _root.gotoAndPlay(temp, 1);
and also tried set(“Scene” + n, “nvar”); _root.gotoAndPlay(nvar, 1);
have also tried changing _root to this or leaving it out.:puzzle:
Does anyone have some clues on this? Much appreciated