I can't get my panel(s) to work correctly. I declare them, set the flags and during the the main function, make them visible. However, the code snippetes i have read to make them disappear does not work...

#include <acknex.h>
#include <default.c>

...

PANEL* k1totals =
{
layer = 1;
pos_x = 20;
pos_y = 100;
digits(0,0,"The player has %.0f points",*,1,k1_total);
flags = VISIBLE;
}
...
void main()
{
...
if(x == 1)
{
k1toatls.flags = 0; //doesn't work
k1totals.visible = off; //doesn't work
reset(k1totals,VISIBLE); // nope
toggle(ktotals,VISIBLE); //nada
}
}

please help...