# \_root problem

**URL:** https://forum.kirupa.com/t/-root-problem/94579
**Category:** Uncategorized
**Created:** [November 14, 2003, 6:15am UTC](https://forum.kirupa.com/t/-root-problem/94579 "2003-11-14T06:15:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![barge](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@barge](https://forum.kirupa.com/u/barge)
#### Post date: [November 14, 2003, 6:15am UTC](https://forum.kirupa.com/t/-root-problem/94579/1 "2003-11-14T06:15:55Z")

</div>

Ok I have the common .swf loading up externally into another .swf. The problem is that all the \_root stuff is getting screwed up because it is getting itself mixed up. how do I staighten the \_root out? With levels? For example I have text that follows the cursor when over a button, but when I go to a scroller in the external movie, then back to the button, it shows the text over the scroller. Please help. I have tried putting \_level1\_root. but can’t get it. Thanks so much in advance.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 15, 2003, 10:44am UTC](https://forum.kirupa.com/t/-root-problem/94579/2 "2003-11-15T10:44:56Z")

</div>

ok, first let me also state: please don’t cross post. it’s quite annoying if you try to help someone to find out later that somebody else already answered the question in another thread.

But now that Sen took care of you’re other thread, here’s what I did.

On your main timeline you have  
[AS]  
startDrag(this.caption, true);  
[/AS]  
When debugged your movie notice the \_dropTarget property of the caption mc which gets set to the scrollbar. That’s why it sticks to it when going back to the menu.

So I removed this line and instead put this on the caption mc:  
[AS]  
onClipEvent (enterFrame) {  
if (\_level0\_root.gem == 1) {  
\_level0\_root.gem\_alpha = 60;  
}  
else {  
\_level0\_root.gem\_alpha = 0;  
}  
this.\_x = \_root.\_xmouse;  
this.\_y = \_root.\_ymouse;  
}  
[/AS]  
p.s. Notice I also made a small change to your if-statement.

Seems everything is working fine now.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 15, 2003, 3:02pm UTC](https://forum.kirupa.com/t/-root-problem/94579/3 "2003-11-15T15:02:12Z")

</div>

I said before you had to change the \* to a “k” because that word is bad and won’t let me type it or have it in a link. I am terribly sorry for the cross posting business. Thanks for the help though, I will check it out.
