Simple issue: for-loop and buttons

Not sure what is up but I’m having problems with:

for (j=1; j<=7; j++){
    hour[j].pressed = false;
}

I want to set 7 buttons’ .pressed = false. I’m getting an ‘undefined’ trace.

The names of the mc’s are: hour1, hour2, etc…

Any ideas anyone? Thanks in advance.