interesting stuff man, i tried removing the strict mode thing but the error was still there,
however i asked a friend of mine how to do it, he gave me an interesting code just in case anyone want to know:
var i_e:i_Explosion = new i_Explosion();
i_e.x = 275;
i_e.y = 200;
addChild(i_e);
i_e.addEventListener(Event.ENTER_FRAME, i_removeExplosion);
function i_removeExplosion(e:Event) :void {
var i_ob = e.currentTarget;
if (i_ob.currentFrame == i_e.totalFrames) {
i_ob.removeEventListener(Event.ENTER_FRAME, i_removeExplosion);
i_ob.parent.removeChild(i_ob);
}
}