I basically need for a child to add another child to the parent. I know about localConnection, or whatever it is called, and that's too messy for me to use. Is there any way for me to do this?
This is the main code var c:childboy = new childboy(); //in the constructor of the class it is suposed to add a child
And this is the code of childboy package { import flash.display.Loader;
public class childboy
{
var ass:Loader = new Loader();
public function childboy()
{
parent.addChild(ass);
}
}
}