Error in Boot.hx

I am getting an error in Boot.hx
[Fault] exception, information=TypeError: Error #1006: removeAt is not a function.
aproto.remove = function(obj) {
var idx = this .indexOf(obj);
if( idx == -1 ) return false;
#if flash19
this .removeAt(idx);<--------
this .splice(idx, 1);
return true;

My first answer would be that you might have done an addchild before a super() but I am not sureā€¦

thanks for your help!
I actually had the wrong code in my example.
anyway I found the fix here :