Hello,
I’m fairly new to flash, so there is probably a simple answer to this. What I have right now is three functions defined in the first frame of my root movie. The three functions work togethor to allow each section of the site to show an intro, then the content, then an outro when the section is changed.
It works without using variables in load movie, like so:
switch (_global.page) {
case "main":
loadMovie("sections/main.swf", 1);
break;
}
However, if I try to just do this:
loadMovie("sections/"+_global.page+".swf", 1);
or any variation (without the _global. for example), then it doesn’t work. Does loadMovie have problems with variables? And I know the variable is set, I have a trace to show the variable at the start of the function, and the switch works perfectly.
Thanks for any help.