I've got a flash move that has actionscript that esentially looks like this:
_root.gotoScene = "Scene 1";
gotoAndPlay(_root.gotoScene, 1);
However, whenever I try to run the script, it tells me this:
Scene name must be quoted string
gotoAndStop(_root.gotoScene, 5);
I can't exactly understand why flash would need an actual string. I tried searching google but came up with nothing helpful. What's the problem here? How can I fix it / get around it?
_root.gotoScene = "Scene 1";
gotoAndPlay(_root.gotoScene, 1);
However, whenever I try to run the script, it tells me this:
Scene name must be quoted string
gotoAndStop(_root.gotoScene, 5);
I can't exactly understand why flash would need an actual string. I tried searching google but came up with nothing helpful. What's the problem here? How can I fix it / get around it?
