# Level problems (button in mc / level0?)

**URL:** <https://forum.kirupa.com/t/level-problems-button-in-mc-level0/216154>\
**Category:** flash\
**Created:** [February 14, 2007, 3:34am UTC](https://forum.kirupa.com/t/level-problems-button-in-mc-level0/216154 "2007-02-14T03:34:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akbunny](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@akbunny](https://forum.kirupa.com/u/akbunny)\
**Post date:** [February 14, 2007, 3:34am UTC](https://forum.kirupa.com/t/level-problems-button-in-mc-level0/216154/1 "2007-02-14T03:34:06Z")

</div>

greetings once more,

I got a button in a mc, you can drag it and then if u let it go ant it “hittests” some mc… the the mc containing the button will b removed.

The “hittest” mc is in the main timeline, and the dragable button in a mc (els you cant remove it). so my code in the button is:

> on(release){  
> stopDrag();

if (\_root.testb.hitTest(“\_root.bb”)) {  
removeMovieClip(“\_root.bb”);  
tellTarget (“\_root.bgot”) {  
gotoAndPlay(2);  
}  
}  
}

testb = the “hittest” mc  
bb = the mc that contains the button  
bgot = a mc that will play when testb hittests bb.

when I test the movie and drag bb over testb and release it, i get:

Target not found: Target=“\_root.bgot” Base=“?”

i know… it will look 4 the root of the button in with i do the as. so it’s not looking for bgot in the main timeline.

BUT how should i wright it down then? i tryd /\_level0 and /\_level0.root. but it’s just not working.

Anyone knows what i did wrong? :bu:

ps. repost xD. (still need help though).
