I have a simple If/Then Statement problem. I’m trying to get this button to change it self through an if/then conditional. In addition i’d like the get the button value to remain after the menu is re-minimized (if user clicks button to make it red, then when they re-minimize and then re-maximize it remained red). But i don’t kno where to start there.
i have used the following coding for my button if/then conditional.
on (release) {
if (this == "11") {
//Movieclip GotoAndPlay Behavior
this.gotoAndPlay("2");
} else if (this == "6") {
this.gotoAndPlay("7");
} else {
this.gotoAndPlay("7");
//End Behavior
}
}
P.S. I only did one button to learn the concept. So to neone who knows about if/then or boolean conditionals, and can solve this simple issue, please break it down and explain it to me. I wish to learn this concept.
Thanks before hand. :ne: