# These stubborn movie clips are getting the best of me! Help a girl out!

**URL:** <https://forum.kirupa.com/t/these-stubborn-movie-clips-are-getting-the-best-of-me-help-a-girl-out/5049>\
**Category:** Uncategorized\
**Created:** [August 29, 2002, 9:15pm UTC](https://forum.kirupa.com/t/these-stubborn-movie-clips-are-getting-the-best-of-me-help-a-girl-out/5049 "2002-08-29T21:15:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmb597](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jmb597](https://forum.kirupa.com/u/jmb597)\
**Post date:** [August 29, 2002, 9:15pm UTC](https://forum.kirupa.com/t/these-stubborn-movie-clips-are-getting-the-best-of-me-help-a-girl-out/5049/1 "2002-08-29T21:15:13Z")

</div>

Hi, I created a page with a mc menu (called movie) that scrolls from side to side when your mouse rolls over it, however, it is STILL otherwise. Anyway, it worked great and looked great.

I decided that I wanted to make the entire page WITH the already made and working menu (movie) into one whole movieclip (called welcome), meaning movie clip within movieclip. I did that because I eventually wanted to make another movieclip with a bunch of movieclip images side by side. I have them masked and scrolling to the side on the main timeline when pushing a button…like this:

[http://www.kirupa.com/developer/flash5/slidingmenu.asp](http://www.kirupa.com/developer/flash5/slidingmenu.asp)

So, I made another movieclip with 4 images side by side and brought in the 5th image or page from the library (which is the welcome movieclip that has the menu (movie)movieclip in it). I want that to be my first page or image of the bunch. I am telling you this because, everything works as far as buttons and pages scrolling when pushed… EXCEPT my menu (movie), on the first page/image will not move when I put my mouse over it like it did before. The entire movieclip that is on the main timeline is called general and that contains the welcome mc, which contains the menu (movie) mc. So it is

general  
welcome (the instance is named movie in this)  
movie (the instance is named menu in this)

This is the code that I have…

onClipEvent (enterFrame) {  
if ((\_root.movie.\_ymouse\<=30) and (\_root.movie.\_ymouse\>=-30)) {  
\_root.movie.menu.\_x += (((\_root.movie.\_xmouse)\*-0.6)-\_root.movie.menu.\_x)/4;  
if (\_root.movie.menu.\_x\>= 102) {  
\_root.movie.menu.\_x = 102;  
}  
if (\_root.movie.menu.\_x\<=-230) {  
\_root.movie.menu.\_x = -230;  
}  
}  
}

I am thinking that its because its confused on the location and name. I am sure I don’t have it right. I am making my first flash site and the images that are scrolling like the tutorial above, will be the actual pages of my site. Which is why the first image, the welcome mc with a working scrolling menu, is so important. Can anyone help me?? THANKS SO MUCH!!

Jill

---

<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:** [August 30, 2002, 9:16am UTC](https://forum.kirupa.com/t/these-stubborn-movie-clips-are-getting-the-best-of-me-help-a-girl-out/5049/2 "2002-08-30T09:16:56Z")

</div>

I \<I\>think\</I\> what’s going on here is that the pathnames are slightly off. If I understand correctly, menu is in movie which is in general? Is that right? In which case you’d need something like \_root.general.movie.menu to target that clip…

I could well be misunderstanding the problem though. If you want to send me the .fla, the address is [kitiara30@hotmail.com](mailto:kitiara30@hotmail.com). Or perhaps one of the forums’ resident gurus could sort it. 🙂

---

<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:** [August 30, 2002, 11:47am UTC](https://forum.kirupa.com/t/these-stubborn-movie-clips-are-getting-the-best-of-me-help-a-girl-out/5049/3 "2002-08-30T11:47:17Z")

</div>

Yeah, post your fla or your complete code on the forum, please.

pom :asian:

---

<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:** [August 30, 2002, 3:44pm UTC](https://forum.kirupa.com/t/these-stubborn-movie-clips-are-getting-the-best-of-me-help-a-girl-out/5049/4 "2002-08-30T15:44:33Z")

</div>

Tanks Kitiara! It actually worked! I was going to put up the flash file, but I decided to try it first! I appreciate both of you replying!!! Thanks so much!
