Question
how to get the reference of one object's parent
hello guys
i have classA and classB like bellow
class ClassA{
public var myVar:String="test";
public function ClassA()
{
new ClassB();
}
}
class ClassB{
public function ClassB()
{
trace("my parent is"+XXX);
trace("my parent var is"+ XXX["myVar"]);
}
}
suppose XXX in classB is the reference of instance of ClassA.how do i get it?