# MC inside MC as button connection problem

**URL:** <https://forum.kirupa.com/t/mc-inside-mc-as-button-connection-problem/282401>\
**Category:** flash\
**Created:** [February 21, 2009, 2:45pm UTC](https://forum.kirupa.com/t/mc-inside-mc-as-button-connection-problem/282401 "2009-02-21T14:45:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cr\_sa](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cr\_sa](https://forum.kirupa.com/u/cr_sa)\
**Post date:** [February 21, 2009, 2:45pm UTC](https://forum.kirupa.com/t/mc-inside-mc-as-button-connection-problem/282401/1 "2009-02-21T14:45:45Z")

</div>

Flash 8 - AS2.0

Hi, I’m trying to figure out why this isn’t connecting the correct way.

On the stage, I have t\_mc with a rollover function (actionscript on the t\_mc)

```php

on(rollOver) {
	gotoAndPlay('rollover');
}

```

…causes a simple red bar to tween out.  
At the end of the redbar tween inside of the _t\_mc_, I have placed another movieclip called _bill\_mc_ on the 15th frame.

So I have placed this code on the main timeline as well:

```php

this.t_mc.bill_mc.onRollOver = function() {
    this.t_mc.bill_mc.gotoAndStop('_over');
}

```

The

```php
_over

```

is for the _bill\_mc_ acting as a button over state, just to do a simple highlight. Which I will connect to in the main fla \_root stage later.

Here is the lnk to the file at yousendit

> **[Hightail Spaces](https://spaces.hightail.com/resolve/ufid/Y2orcmxYT2JxRTFMWEE9PQ)**
>
> Hightail Spaces lets you send unlimited files, of any size, to anyone. Collaborate with your team and evolve your work.

PLEASE HELP!
