is there an easier way to tell flash that when a MC is loaded all other MC’s on the screen to go to a frame?
this is what i have but i think it’s bad programming:
company.onPress = function() {
tellTarget ("company") {
gotoAndPlay(2);
}
tellTarget ("contact") {
gotoAndStop(1);
}
tellTarget ("services") {
gotoAndStop(1);
}
tellTarget ("about") {
gotoAndStop(1);
}
tellTarget ("info") {
gotoAndStop(1);
}
tellTarget ("pricing") {
gotoAndStop(1);
}
tellTarget ("shopping") {
gotoAndStop(1);
}
};
what i’m trying to do is if the “company” button is pressed for example, I would like the company section to come up and any other section that is on screen to dissapear. (Frame 2 being a visible state and frame 1 being blank)