Hello,
I’ve been trying to get this to work lately but somehow I can’t get it to work. Then it crossed my mind that it might not be possible, but I think it’s definately possible, so I post this for confirmation.
I have a very simple file with 1 ball in the library.
I have a document class called Control (which is the root object, right??).
I have one other class called Ball, associated with the ball.
Now I’m trying to understand the following. I made the ball in Control using:
this.addChild(_ball);
Then shouldn’t it be possible to do
trace(this.parent);
in the Ball function in the Ball class? It returns null;