Hi folks, here is the set up. I’m working with three files. Main.swf which contains navigation.swf in a blankmc, empty mc called mcContent where navigation sleclected materials are loaded.
In the navigation.fla here is the code
[AS]trace(“now defining global”);
_global.loadFile_str = strPicName;
trace(“global defined as”);
trace(_global.loadFile_str);
_root.mcContent.loadMovie(“monthlyreports.swf”);
[/AS]
which leads to the trace results of…
[AS]now defining global
global defined as
images/cbookings.jpg
[/AS]
when i do a trace of loadFile_str in the first frame of monthlyreports i get a undefined. I have tried trace(loadFile_str) and trace(_global.loadFile_str)
I also noticed that if i define the global on the main movie ( it maintains the global variable, the navigation fla will not overwrite it) not sure if that helps anything but i thought i let you know.
Thanks for any help.