some small info:
this code is really bad:
action bide()
{
my.event=emovisible();
wait(1);
my.event=show_panels;my.enable_scan=on;
}
i think i should explain your errors:
all okay
wrong, your function "emovisible" will return anything and it's not you function pointer
Event will never be called because you have no emask or enable_*
This is good, because your program will crash with the code above
my.event=show_panels;my.enable_scan=on;
This code contains no errors, but your old, wrong event definition will be overwritten by your new! That's why your program don't call both event functions and so it don't crash! Also the event "scan" will be activated
if you want two event function, write something like this:
function bide_event()
{
emovisible();
show_panels();
}
action bide()
{
my.event=bide_event;
my.enable_scan=on;
}
but i don't understand your need of two events, because you only activated ENABLE_SCAN!
Hope it helpsRichi007