Icant see enything wrong here except (as youve said)
k1toatls.flags = 0; //doesn't work
k1totals.visible = off; //doesn't work

are wrong and wont work.

BUT both
reset(k1totals,VISIBLE);
toggle(ktotals,VISIBLE);

should work fine.

Make sure you DONT use either of the faulty lines ever,
as they may screw up the flag structure and nothing will
work right after that.

In your code, put a beep(); after the 'reset' or 'toggle'
commands to make sure it is being reached.
That is, to make sure x==1 is ever sucessfully true.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial