Globals and galleries

Hey Kids,

OK, here’s the situation:

I have a main swf file calling another swf file into a container movie for a gallery.

The swf file being called has _root stuff on it, so I worked the _global variable on it, and everything is working fine.

Until I load it into the gallery, then the button on the loaded swf file no longer works. I think I am missing something.

code on loaded swf button:


on (press) {
	myAppMain.clip.gotoAndPlay(2);
	myAppMain.clip.fall.text = myAppMain.clip.nofall.text;
	myAppMain.clip.nofall.text = "Dance Elements";
	gotoAndStop(2);
}

and yes, the global is in the main timeline. My question is, does there have to be something in the main movie file? Here’s the code on the button calling the loaded swf file:


on (release) {
	loadMovie("flashwork/danceele.swf", "_parent.flash");
}

the _parent is there because the main swf file is also loaded into <i>another</i> swf file which is the real movie, but means nothing to us for this example. The container movie is called “flash”.

Any help is really appreciated.

P :slight_smile:

anyone?