# Trouble Accessing Button within a MovieClip

**URL:** https://forum.kirupa.com/t/trouble-accessing-button-within-a-movieclip/221714
**Category:** flash
**Created:** [April 6, 2007, 5:21pm UTC](https://forum.kirupa.com/t/trouble-accessing-button-within-a-movieclip/221714 "2007-04-06T17:21:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brachford](https://avatars.discourse-cdn.com/v4/letter/b/8797f3/32.png) [@brachford](https://forum.kirupa.com/u/brachford)
#### Post date: [April 6, 2007, 5:21pm UTC](https://forum.kirupa.com/t/trouble-accessing-button-within-a-movieclip/221714/1 "2007-04-06T17:21:50Z")

</div>

Hello All,

Rundown … One scene and all AS code resides within the ‘actions’ layer on the ‘main’ timeline. I’ve encountered several issues but I have no option but to deal with one at a time.

At this point I’m simply trying to access one button … that for the life of me cannot figure out why I can’t.

instance name: [COLOR=blue]cont\_back\_mc[/COLOR]  
inside movie clip: [COLOR=red]cont\_mc[/COLOR]

> 

## target paths I’m using:

[COLOR=red]cont\_mc[/COLOR].[COLOR=blue]cont\_back\_mc[/COLOR].onRelease = function (){[INDENT][COLOR=red]cont\_mc[/COLOR].gotoAndPlay(“\_off”);[/INDENT]  
}

[COLOR=#ff0000]cont\_mc[/COLOR].[COLOR=blue]cont\_back\_mc[/COLOR].onRollOver = function (){[INDENT][COLOR=#ff0000]cont\_mc[/COLOR].[COLOR=blue]cont\_back\_mc[/COLOR]gotoAndStop(“\_over”);[/INDENT]  
}

## [COLOR=#ff0000]cont\_mc[/COLOR].[COLOR=blue]cont\_back\_mc[/COLOR].onRollOut = function (){[INDENT][COLOR=#ff0000]cont\_mc[/COLOR].[COLOR=blue]cont\_back\_mc[/COLOR].gotoAndStop(1);[/INDENT] }

I haven’t a clue as to why the button will not … could anyone lend a hand?

I would really appreciate it. Thanks in advance.
