I am creating a calendar and only one part isnt work. That part is the movie (mc_nav). I have the mc_nav movie on each month’s stage. The buttons are named correctly since I used normal modes reference thingy to double check the references. I am trying to have it move to the next frame in the movie, or back, or to the 3rd frame etc. The first section (NAVIGATION BUTTON LINKS) works fine. It is just when I try to navigate on the Scene 1 stage, from a movie within a movie, that the trouble arises. Each of the month movies (mc_sep, mc_oct, etc) have mc_nav placed on them. Then the month movies are placed in Scene 1 on each of their respective frames (mc_sep = 4, mc_oct = 5, etc). When testing the movie and I am sent to any month page, the navigation (mc_nav) wont work. The syntax according to the flash debugger is correct. The action script goes all the way through to the last frame (13) and the stop(); command is set to stop the movie at frame 3 (the splash page). Any ideas?
// STOP THE MOVIE AT THIS FRAME
stop();
// //////////////////////////////////////////////
// NAVIGATION BUTTON LINKS
// //////////////////////////////////////////////
_root.btn_sep.onPress = function() {
// SEPTEMBER BUTTON
gotoAndStop(4);
};
_root.btn_oct.onPress = function() {
// OCTOBER BUTTON
gotoAndStop(5);
};
_root.btn_nov.onPress = function() {
// NOVEMBER BUTTON
gotoAndStop(6);
};
_root.btn_dec.onPress = function() {
// DECEMBER BUTTON
gotoAndStop(7);
};
_root.btn_jan.onPress = function() {
// JANUARY BUTTON
gotoAndStop(8);
};
_root.btn_feb.onPress = function() {
// FEBRUARY BUTTON
gotoAndStop(9);
};
_root.btn_mar.onPress = function() {
// MARCH BUTTON
gotoAndStop(10);
};
_root.btn_apr.onPress = function() {
// APRIL BUTTON
gotoAndStop(11);
};
_root.btn_may.onPress = function() {
// MAY BUTTON
gotoAndStop(12);
};
_root.btn_jun.onPress = function() {
// JUNE BUTTON
gotoAndStop(13);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR SEPTEMBER MOVIE
// //////////////////////////////////////////////
_root.mc_sep.mc_nav.btn_back.onPress = function() {
gotoAndStop(3);
};
_root.mc_sep.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_sep.mc_nav.btn_next.onPress = function() {
gotoAndStop(5);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR OCTOBER MOVIE
_root.mc_oct.mc_nav.btn_back.onPress = function() {
gotoAndStop(4);
};
// //////////////////////////////////////////////
_root.mc_oct.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_oct.mc_nav.btn_next.onPress = function() {
gotoAndStop(6);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR NOVEMBER MOVIE
// //////////////////////////////////////////////
_root.mc_nov.mc_nav.btn_back.onPress = function() {
gotoAndStop(5);
};
_root.mc_nov.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_nov.mc_nav.btn_next.onPress = function() {
gotoAndStop(7);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR DECEMBER MOVIE
// //////////////////////////////////////////////
_root.mc_dec.mc_nav.btn_back.onPress = function() {
gotoAndStop(6);
};
_root.mc_dec.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_dec.mc_nav.btn_next.onPress = function() {
gotoAndStop(8);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR JANUARY MOVIE
// //////////////////////////////////////////////
_root.mc_jan.mc_nav.btn_back.onPress = function() {
gotoAndStop(7);
};
_root.mc_jan.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_jan.mc_nav.btn_next.onPress = function() {
gotoAndStop(9);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR FEBRUARY MOVIE
// //////////////////////////////////////////////
_root.mc_feb.mc_nav.btn_back.onPress = function() {
gotoAndStop(8);
};
_root.mc_feb.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_feb.mc_nav.btn_next.onPress = function() {
gotoAndStop(10);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR MARCH MOVIE
// //////////////////////////////////////////////
_root.mc_mar.mc_nav.btn_back.onPress = function() {
gotoAndStop(9);
};
_root.mc_mar.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_mar.mc_nav.btn_next.onPress = function() {
gotoAndStop(11);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR APRIL MOVIE
// //////////////////////////////////////////////
_root.mc_apr.mc_nav.btn_back.onPress = function() {
gotoAndStop(10);
};
_root.mc_apr.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_apr.mc_nav.btn_next.onPress = function() {
gotoAndStop(12);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR MAY MOVIE
// //////////////////////////////////////////////
_root.mc_may.mc_nav.btn_back.onPress = function() {
gotoAndStop(11);
};
_root.mc_may.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_may.mc_nav.btn_next.onPress = function() {
gotoAndStop(13);
};
// //////////////////////////////////////////////
// BUTTON NAVIGATION FOR JUNE MOVIE
// //////////////////////////////////////////////
_root.mc_jun.mc_nav.btn_back.onPress = function() {
gotoAndStop(12);
};
_root.mc_jun.mc_nav.btn_home.onPress = function() {
gotoAndStop(3);
};
_root.mc_jun.mc_nav.btn_next.onPress = function() {
gotoAndStop(4);
};