i have a function with code
function ball3test()
{
if (ball3.hitTestObject(ball1_t))
{
goodmc.alpha = 1;
removeChild(ball3);
sw = sw + 1;
ball3t.alpha = 1;
setTimeout(hidhap, 1000);
ss = ss + 1;
ssdone();
}
else
{
sadmc.alpha = 1;
ball3.x = ball3X;
ball3.y = ball3Y;
setTimeout(hidsad, 1000);
ssdone();
}
}
now when i test it if ball3.hitTestObject(ball1_t) the good mc and sad mc show together .. it makes my crazy i don't know whats wrong when the hit test happens the goodmc and sadmc visiable togeher it should be goodmc only not both however when the hit test not happens the sadmc only that show