You have the if statement, but you haven’t showed me the else statement.
So far what you showed me was if j is equal to 5 then set button5’s label to “X”. But what if it isn’t equal to 5? That is where the else statement comes into play.
[AS]if (statement){
//do this
} else {
//do this
}[/AS]
Refer to the for loop in the script that uses the variable “i” (within the pressed prototype function) on how to target the clips correctly
[edit]And I can’t come on AIM because I am usually here for short few minute bursts, not really enough time to get into helping one on one. Also it would be easier for you since you won’t have to deal with 12,043 IM windows flying at you begging for help (sometimes I regret adding my SN to my profile before).
The if/else statement must be contained within the for loop not after the for loop. And remove the original this[“button”+j].numLabel.text = j; that is contained in the for loop now, no need to have it twice.
Heres the final file with the true/false triggers for the rollOver effect.
I know if it took this long to do an if/else statement it will probably takes 10 times as long to explain this since its way more complex, so I left comments in the code that will hopefully allow you to better understand.