If your class extends MovieClip, it has to be added to that parent by
means of addChild and (child.)stage should be true
otherwise there isn't a parent-child relation.
Latcho
Carl Welch wrote:
Hi again,
I am trying to call a function to a parent of a movieclip. I've tried
these two items that I found but to no avail:
(this.parent.parent as MovieClip).callMedia(String("audio"));
AND:
MovieClip(parent.parent).callMedia(String("audio"));
Am I missing something? I'm finding that everything I took for granted
in AS2 is now convoluted in AS3... I'm so frustrated.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders