# \[MX\] .root problem

**URL:** <https://forum.kirupa.com/t/mx-root-problem/23315>\
**Category:** flash\
**Created:** [June 16, 2003, 11:38am UTC](https://forum.kirupa.com/t/mx-root-problem/23315 "2003-06-16T11:38:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanbigfish](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@ryanbigfish](https://forum.kirupa.com/u/ryanbigfish)\
**Post date:** [June 16, 2003, 11:38am UTC](https://forum.kirupa.com/t/mx-root-problem/23315/1 "2003-06-16T11:38:32Z")

</div>

Hi

Ive just followed the tutorial about creating a full flash site using root. I got that working fine.

My problem occurs when i want to use tellTarget in my menu system as well.  
The movie looks for the actions contained in the mouse overs of the menu in the main movie.

This is the error message i get:

> Target not found: Target=“/newsButt” Base=“\_level10.contents.newsButt”

Basically the structure at the moment is

The main movie  
The menu is an .swf clip thats imported using .root (this contains tellTarget animations as mouseOvers, and then when the user clicks on something to load another .swf containing the new information)

Is this going about it the wrong way? Is there an easier way? Do I need to completely redesign my site?

Thanks for any assistance

~RyanBigFish

---

<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:** [June 16, 2003, 1:10pm UTC](https://forum.kirupa.com/t/mx-root-problem/23315/2 "2003-06-16T13:10:56Z")

</div>

OK i think ive found half of the solution  
instead of using:

> on (rollOver) {  
> tellTarget (“/newsButt”) {  
> gotoAndPlay(“start”);  
> }  
> }  
> on (rollOut) {  
> tellTarget (“/newsButt”) {  
> gotoAndPlay(“end”);  
> }  
> }

Ive changed it to

> on (rollOver) {  
> \_root.newsButt.gotoAndPlay(“start”);  
> }  
> on (rollOut) {  
> \_root.newsButt.gotoAndPlay(“end”);  
> }

This has stopped the error messages coming up, but it still won’t actually play the animations in newsBut

Any ideas?t

---

<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:** [June 16, 2003, 4:49pm UTC](https://forum.kirupa.com/t/mx-root-problem/23315/3 "2003-06-16T16:49:43Z")

</div>

Did you give instance names? Try this:

```auto
on (rollOver) {
_root.newsButt.gotoAndPlay("start");
trace (_root.newsButt);
}

```

If it doesn’t return anything in the output window, it means that either the path is incorrect, or you haven’t given an instance name to your clip.

pom 🙂
