I used the “Preloader & Transition for Dynamic Files” tutorial and added code for 3 more buttons. However, only the first 4 work. Is there something in the code that has a limit on the number of buttons you can use?
b1.onRelease = function() {
if (_root.section != “blondes.swf”) {
_root.section = “blondes.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b2.onRelease = function() {
if (_root.section != “capabilities.swf”) {
_root.section = “capabilities.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b3.onRelease = function() {
if (_root.section != “portfolio.swf”) {
_root.section = “portfolio.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b4.onRelease = function() {
if (_root.section != “news.swf”) {
_root.section = “news.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b5.onRelease = function() {
if (_root.section != “downloads.swf”) {
_root.section = “downloads.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b6.onRelease = function() {
if (_root.section != “contact.swf”) {
_root.section = “contact.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
b7.onRelease = function() {
if (_root.section != “home.swf”) {
_root.section = “home.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
I appreciate the help.