hahahaha.... sorry, but i just had to laugh (not at you B, but at what you managed to do)
ok... normally i'd give the speech about you' having to learn how to figure these things out yourself... but this one is just not so obvious...
and, it just got me laughing so hard
look the logic you just implemented... you're asking the program to hide the sprite when the mouse is over it... and it is doing exactly that...
but when it does exactly what you've told it to do, the logic is no longer valid, since the mouse over event can't be triggered if the sprite is not visible...
soooo... it's gonna return 0, and immediately show itself again... sorta like a logic catch 22
but after looking at your code, this isn't what's happening at all... you're logic is hiding the 2nd sprite if the mouseover event is trigger by the first sprite... which really isn't doing anything to the first one...
which is not what you say you want to do...
first of all get the logic striaght... you want the mouseover event for sprite 1 to hide sprite 2, and vice versa...
also...
try just changing the opacity of the sprite to something real low, instead of hiding it... this way, it can't be seen, but the mouse over can still be detected...
try this code...
void Main()
{
if (IN_23 > 0) // if mouseover sprite 1 then lower opacity of sprite1 and raise opacity of sprite2
{
OUT_22=0.002;
OUT_0=1;
}
else // else do just the opposite...
{
OUT_22=1;
OUT_0=0.002;
}
}
--Mike