Tuesday, July 7, 2009

Function of parent MC

To call a function of a parent movie clip:
set variable to as MovieClip before you can access parent

var theVName:MovieClip = this.parent as MovieClip;
theVName.doSomething();

No comments:

Post a Comment