Unknown child calling father

Hi, I have an absurd problem here:

I have class A and a child instance of class B: B calls a function of parent class A, and if I try to simply trace B from here (from inside the function in A) I get a null!

If I pass B as a parameter to the function in A and trace it is correctly show the class type, but tracing the B instance directly gives me a null, how can this happen?

class A Main()

gameElements = new GameElements(this);

function whatever (ga: *){
   trace(gameElements);     //-----> null
   trace(ga);               //-----> gameElements
}

------------------------------------------------------

class B GameElements(parentMC);

parentMC.whatever(this);

It looks like gameElements commits suicide as soon as I enter function “whatever”!

Any suggestion?