XML gallery thumbnails don't scroll when using loadClip()

Hey guys,

I’ve followed this tutorial on scrolling photo gallery thumbnails:
http://www.kirupa.com/developer/mx2004/thumbnails.htm

I’ve gotten everything to work great.

BUT, when I try to load my gallery into another SWF (using loadClip), the thumbnails stop scrolling or take FOREVER to realize the mouse is in the proper position to scroll.

Can anyone help me figure out why this is happening??

Here is my scroll code:


function listItemScroller() { 
 // thumbnail code! 
 _root.createEmptyMovieClip("tscroller", 1000); 
 scroll_speed = 2; //lower = slower
 _root.tscroller.onEnterFrame = function() {
  if ((_root._xmouse>=_root.mainBox.contentHolder.listMC._x) && (_root._xmouse<=(_root.mainBox.contentHolder.listMC._x+_root.mainBox.contentHolder.listMC._width))) { 
   //trace("in range");
   if ((_root._ymouse>=(_level0.mainBox.contentHolder.hitBtm._y-10)) && (_root.mainBox.contentHolder.listMC.hitTest(_level0.mainBox.contentHolder.hitBtm))) { 
    trace("mouseOver hitBtm");
    _root.mainBox.contentHolder.listMC._y -= scroll_speed; 
   } else if ((_root._ymouse<=(_level0.mainBox.contentHolder.hitTop._y+10)) && (_root.mainBox.contentHolder.listMC.hitTest(_level0.mainBox.contentHolder.hitTop))) { 
    trace("mouseOver hitTop");
    _root.mainBox.contentHolder.listMC._y += scroll_speed; 
   } 
  } else { 
   delete _root.tscroller.onEnterFrame; 
  } 
 }; 
}

When I test my movie from the ‘main’ SWF, it only scrolls down, but a long time after the mouse has been in the right spot to do so.

What am I doing wrong?