# Can't control nested MovieClip

**URL:** <https://forum.kirupa.com/t/cant-control-nested-movieclip/275386>\
**Category:** flash\
**Created:** [November 13, 2008, 9:44am UTC](https://forum.kirupa.com/t/cant-control-nested-movieclip/275386 "2008-11-13T09:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvec](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@sylvec](https://forum.kirupa.com/u/sylvec)\
**Post date:** [November 13, 2008, 9:44am UTC](https://forum.kirupa.com/t/cant-control-nested-movieclip/275386/1 "2008-11-13T09:44:47Z")

</div>

Hi,

In my Library I have MC called _sym_ which contains MC called _ksztalt_. The Problem is I can’t control (for example .stop()) that _ksztalt_ MC inside _sym_ MC.

I create dynamically _sym_ on the stage with the instance name of **sym1** and I’m able to control it with:

```auto
(getChildByName("sym1") as MovieClip).stop();

```

but if i type

```auto
(getChildByName("sym1") as MovieClip).ksztalt.stop();

```

\*ksztalt \*MC inside _sym1_ MC doesn’t stop. why?

I get an error _1046: Type was not found or was not a compile-time constant: ksztalt._

PS. _ksztalt_ is set to “Export to action script” with the name _ksztalt_
