I’ve got buttons on the main timeline that when released they execute this code:
on (release) {
_global.otherSectionButton == "people";
if (_root.currMovie == undefined) {
_root.currMovie = "other_background";
loadMovie("other_background.swf", _parent.sub_nav);
} else if (_root.currMovie != "other_background") {
if (_parent.sub_nav._currentframe >= _parent.sub_nav.midframe) {
_root.currMovie = "other_background";
_parent.sub_nav.play();
}
}
}
then once the background.swf stops at this certain frame this script runs …
aboutbtn = function()
{
if (_global.otherSectionButton == "about") loadotherSection.loadMovie("about.swf");
else this.onEnterFrame = peoplebtn;
}
peoplebtn = function()
{
if (_global.otherSectionButton == "people") this.loadotherSection.loadMovie("people.swf");
else this.onEnterFrame = contactbtn;
}
contactbtn = function()
{
if (_global.otherSectionButton == "contact") this.loadotherSection.loadMovie("contact.swf");
else this.onEnterFrame = null;
}
this.onEnterFrame = aboutbtn;
Any help would be greatly appreciated!