/the name of the button is "but". Name your buttons f.e. but1,but2 and etc in the movieclip properties.
button.onRollOver = function() {
this.gotoAndStop(1);
this.play();
if (this._currentframe == 13) {
flipOut = true;
stop();
}
};
button.onRollOut = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button2.onRollOver = function() {
this.gotoAndStop(1);
this.play();
if (this._currentframe == 13) {
flipOut = true;
stop();
}
};
button2.onRollOut = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button3.onRollOver = function() {
this.gotoAndStop(1);
this.play();
if (this._currentframe == 13) {
flipOut = true;
stop();
}
};
button3.onRollOut = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button4.onRollOver = function() {
this.gotoAndStop(1);
this.play();
if (this._currentframe == 13) {
flipOut = true;
stop();
}
};
button4.onRollOut = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button5.onRollOver = function() {
this.gotoAndStop(1);
this.play();
if (this._currentframe == 13) {
flipOut = true;
stop();
}
};
button5.onRollOut = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button6.onRollOver = function() {
this.gotoAndStop(1);
this.play();
if (this._currentframe == 13) {
flipOut = true;
stop();
}
};
button6.onRollOut = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button7.onRollOver = function() {
if (flipOut=true) {
this.gotoAndPlay(14);
}
flipOut = false;
};
button.onRelease = function() { unloadMovieNum(1); main.gotoAndPlay(39); }
button2.onRelease = function() {
my_mc.loadClip("shape.swf", "container");
};
var empty = this.createEmptyMovieClip("container", "100");
empty._x = 0;
empty._y = 0;
my_mc = new MovieClipLoader();
-----------------------------------------------------------------
WHAT DO I PUT TO UNLOAD??? the loaded movieclip?
-----------------------------------------------------------------
button3.onRelease = function() { unloadMovieNum(1);main.gotoAndPlay(260); }
button4.onRelease = function() { unloadMovieNum(1);main.gotoAndPlay(109); }
button5.onRelease = function() { unloadMovieNum(1);main.gotoAndPlay(321); }
button6.onRelease = function() { unloadMovieNum(1);main.gotoAndPlay(405); }