buttons won't hide

OK, now I’m really stumped. I’ve tried everything. I have a couple of buttons that are square iconic buttons that I want to be visible only at certain times. I’ve tried setting the visible to true, setting the enabled to false, setting the transparent to true…nothing works. Here’s the relevant code:

tell window "romWindows"
		set visible of button "rhBoom" to false
		set visible of button "rhFire" to false
		set visible of button "rhCross" to false
end tell

None of these buttons become hidden as they are supposed to. Later, I make them visible but until I get them to hide that part’s irrelevant.

Model: iMac DV+
AppleScript: 1.9.1
Browser: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0
Operating System: Mac OS X (10.2.x)

I’m gonna answer my own question here…it was a typo. The relevant section is:

tell window "romWindows"

and what it should say is “romWindow” (note there is no ‘s’ at the end).

My bad.