# Menu problems

**URL:** <https://forum.kirupa.com/t/menu-problems/65472>\
**Category:** Uncategorized\
**Created:** [September 26, 2004, 10:04pm UTC](https://forum.kirupa.com/t/menu-problems/65472 "2004-09-26T22:04:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![darthnacho](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/darthnacho/32/762_2.png) [@darthnacho](https://forum.kirupa.com/u/darthnacho)\
**Post date:** [September 26, 2004, 10:04pm UTC](https://forum.kirupa.com/t/menu-problems/65472/1 "2004-09-26T22:04:02Z")

</div>

i have a movie\_clip (menu) that works perfect when i test it alone, but when i tested in the main movie, it doesn´t work.  
the movie clip works like this: it follows the cursor on \_yposition, and when u rollover it, it opens with a function(). This is the problem.

inside the movie\_clip (menu) i have 4 buttons, that doesn´t work on the main scene, but it works fine when i tested alone.

any ideas…

thanx…

this is the adress:  
[http://www.cisternasltda.cl/menu\_problem.swf](http://www.cisternasltda.cl/menu_problem.swf)

---

<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:** [September 27, 2004, 3:50am UTC](https://forum.kirupa.com/t/menu-problems/65472/2 "2004-09-27T03:50:01Z")

</div>

Sounds to me like the classic static targeting issue has struck again.

Never use \_root in your actionscript otherwise when you load that movie into another movie, the whole timeline hierarchy changes and the \_root is no longer the same timeline it was in the external movie.

Try playing around with this and \_parent and see if it’s a targeting issue.

---

<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:** [September 27, 2004, 4:59am UTC](https://forum.kirupa.com/t/menu-problems/65472/3 "2004-09-27T04:59:54Z")

</div>

that could be if u load a movie into the main scene, but the movieclip is in the main scene… so is nothing about absolut or relative paths.

the buttons are just that… buttons that don´t work in the movieclip when the menu moves in \_xposition…  
other ideas???

---

<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:** [September 27, 2004, 9:36pm UTC](https://forum.kirupa.com/t/menu-problems/65472/4 "2004-09-27T21:36:17Z")

</div>

any other ideas

---

<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:** [October 1, 2004, 5:34am UTC](https://forum.kirupa.com/t/menu-problems/65472/5 "2004-10-01T05:34:32Z")

</div>

what means: this.onRollOut = function()

and what is the diference with: bg.onRollOut

if i put “bg” on the function, the buttons work, but themenu don´t slide out… Why???

---

<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:** [October 1, 2004, 3:31pm UTC](https://forum.kirupa.com/t/menu-problems/65472/6 "2004-10-01T15:31:31Z")

</div>

‘this’ will target the clip the code exists on.

‘bg’ will target the clip with the instance name ‘bg’.

---

<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:** [October 1, 2004, 4:33pm UTC](https://forum.kirupa.com/t/menu-problems/65472/7 "2004-10-01T16:33:25Z")

</div>

thats fine, but what means “onRollOut”, and there is no “bg” mc. Anyway, the problem persist…  
buttons work when i direct the function to “bg” or “nada” or what\_ever", but the slideout function does not work… and if i put this.onRollOut = function(), then the buttons don´t work, and the slideout function, yes…

very weird
