# HOw to Identify Nested MovieClips to Extrenal Classes

**URL:** <https://forum.kirupa.com/t/how-to-identify-nested-movieclips-to-extrenal-classes/281214>\
**Category:** flash\
**Created:** [February 6, 2009, 2:06am UTC](https://forum.kirupa.com/t/how-to-identify-nested-movieclips-to-extrenal-classes/281214 "2009-02-06T02:06:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pherank](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Post date:** [February 6, 2009, 2:06am UTC](https://forum.kirupa.com/t/how-to-identify-nested-movieclips-to-extrenal-classes/281214/1 "2009-02-06T02:06:17Z")

</div>

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:

```auto

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:

```auto

public var progressMeter:MovieClip;
public var exitBtn:MovieClip;
public var auxTopBar_mc:MovieClip;

```

I get the folowing error:

```auto

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?
