# Nested Movie clips just won't play :(

**URL:** <https://forum.kirupa.com/t/nested-movie-clips-just-wont-play/318462>\
**Category:** flash\
**Created:** [January 20, 2011, 10:08pm UTC](https://forum.kirupa.com/t/nested-movie-clips-just-wont-play/318462 "2011-01-20T22:08:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astridax](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@Astridax](https://forum.kirupa.com/u/Astridax)\
**Post date:** [January 20, 2011, 10:08pm UTC](https://forum.kirupa.com/t/nested-movie-clips-just-wont-play/318462/1 "2011-01-20T22:08:13Z")

</div>

Ok you guys must be sick of hearing this question, but I just can’t seem to find a simple solution to it.

I have a movie clip, lets call this Container. This contains another 4 movie clips, BubbleRed, BubbleGreen, BubblePurple and BubbleGold. Each of these 4 movie clips have an animated time line.

When a Container is rolled over it is added to an array.

I have a function which does things to the Containers on the array.

However I have been trying to get the movie clips in the container to play.

Basically here is my code

```auto
function Pop(m:Movieclip){
switch(m.currentFrame) {

case 1:
m.BubbleRed.play();
break;

case 2:
m.BubbleGreen.play();
break;
}
}

```

And so on for the four bubbles. However when hovered over this code just breaks.

So I tried instead of BubbleRed, assigning the movie clips inside the container instance names, Red, Green, Purple, Gold.

This didn’t result in a crash, however the time line of each instance still wouldn’t play!

Please help!  
Thanks in advanced.
