# Nesting mouseX = \_xmouse; function

**URL:** <https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609>\
**Category:** flash\
**Created:** [March 25, 2008, 9:39am UTC](https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609 "2008-03-25T09:39:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keith\_chegwin](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@keith\_chegwin](https://forum.kirupa.com/u/keith_chegwin)\
**Post date:** [March 25, 2008, 9:39am UTC](https://forum.kirupa.com/t/nesting-mousex--xmouse-function/255609/1 "2008-03-25T09:39:08Z")

</div>

hi Guys,

I am trying to create a horizontal scrollable movie clip thats works in a nested movie clip

At the moment I am using this code and it only works in the root. Do you know how I can fix it to work in a nested clip?  
[URL=“[http://www.layoutgalaxy.com/html/htmnewletter49-page2.htm](http://www.layoutgalaxy.com/html/htmnewletter49-page2.htm)”]  
Here is the original code

Cheers
