I have the following code on a button that i am using to load movies into content_mc:
on (release) {
if (_root.section != “link1”) {
_root.content_mc.gotoAndPlay(“unload”);
_root.section = “link1”;
_root.loader.gotoAndPlay(“load”);
}
}
I want the content_mc to fully finish the exit transition before loading in the new section. Maybe an if statement would work
on (release) {
if (_root.section != “link1”) {
_root.content_mc.gotoAndPlay(“unload”);
}
if (_root.content_mc == the last frame—frame label “end”) *help with syntax
_root.section = “link1”;
_root.loader.gotoAndPlay(“load”);
}
}
im just having trouble with syntax, any ideas?