I have a couple of nested movieclips inside an interface file. There are some external movies that are imported (and their scripts call functions within the main class), and when I publish any of these I get these errors:
1120: Access of undefined property progressMeter.
1119: Access of possibly undefined property exitBtn through a reference with static type AuxiliaryWindow.
1119: Access of possibly undefined property auxTopBar_mc through a reference with static type AuxiliaryWindow.
I haven’t figured out a way to let the external files know about the structure of these nested movieclips. What’s the technique to use? If I create a public var for “progressMeter” within the Interface class, like this:
public var progressMeter:MovieClip;
public var exitBtn:MovieClip;
public var auxTopBar_mc:MovieClip;
I get the folowing error:
1151: A conflict exists with definition progressMeter in namespace internal.
1151: A conflict exists with definition exitBtn in namespace internal.
1151: A conflict exists with definition auxTopBar_mc in namespace internal.
So I can’t take that approach. What do people recommend?