# Breaking out of a background mc

**URL:** <https://forum.kirupa.com/t/breaking-out-of-a-background-mc/273509>\
**Category:** programming\
**Created:** [October 16, 2008, 10:05am UTC](https://forum.kirupa.com/t/breaking-out-of-a-background-mc/273509 "2008-10-16T10:05:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Barbarossa](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@John\_Barbarossa](https://forum.kirupa.com/u/John_Barbarossa)\
**Post date:** [October 16, 2008, 10:05am UTC](https://forum.kirupa.com/t/breaking-out-of-a-background-mc/273509/1 "2008-10-16T10:05:41Z")

</div>

Hello again

I have a button which is attached/parented(?) - don’t really know the term - to a background, so that it traces out as

```php
level0.bg.buttonName

```

And when the button is pressed I want it to load a move called buttonName+“Offer”, so that whichever button is pressed, the appropriate offer to build comes up.

The problem I am having is that the button is still attached to it’s background, so the movie I am trying to load is actually called bg.buttonNameOffer and not just buttonNameOffer.

Is there a way to break the name of the button away from the background after it has been clicked, so it no longer refers to bg.buttonName?
