# Yet another kirupa slideshow question

**URL:** <https://forum.kirupa.com/t/yet-another-kirupa-slideshow-question/220776>\
**Category:** Uncategorized\
**Created:** [March 29, 2007, 3:31am UTC](https://forum.kirupa.com/t/yet-another-kirupa-slideshow-question/220776 "2007-03-29T03:31:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vibetribe](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vibetribe](https://forum.kirupa.com/u/vibetribe)\
**Post date:** [March 29, 2007, 3:31am UTC](https://forum.kirupa.com/t/yet-another-kirupa-slideshow-question/220776/1 "2007-03-29T03:31:40Z")

</div>

I created a movie myThumbs and placed the masked thumbnail\_mc in it because there are things i want to do to the whole scrolling mc in one go…  
anyway… here is my augmented version of the AS…

Everything loads up fine… but the scrolling isnt working… can anyone tell why?

thanks in advance…

```auto
function thumbNailScroller() {
	// thumbnail code! 
	home.myThumbs.createEmptyMovieClip("tscroller", 1000);
	scroll_speed = 10;
	tscroller.onEnterFrame = function() {
		if ((_root._ymouse>=myThumbs.thumbnail_mc._y) && (_root._ymouse<=myThumbs.thumbnail_mc._y+myThumbs.thumbnail_mc._height)) {
			if ((_root._xmouse>=(myThumbs.hit_right._x-40)) && (myThumbs.thumbnail_mc.hitTest(myThumbs.hit_right))) {
				myThumbs.thumbnail_mc._x -= scroll_speed;
			} else if ((_root._xmouse<=(myThumbs.hit_left._x+40)) && (myThumbs.thumbnail_mc.hitTest(myThumbs.hit_left))) {
				myThumbs.thumbnail_mc._x += scroll_speed;
			}
		} else {
			delete tscroller.onEnterFrame;
		}
	};
}

// ALL BELLOW SEEMS TO WORK....
function thumbnails_fn(k) {
	myThumbs.thumbnail_mc.createEmptyMovieClip("t"+k, myThumbs.thumbnail_mc.getNextHighestDepth());
	tlistener = new Object();
	tlistener.onLoadInit = function(target_mc) {
		target_mc._x = myThumbs.hit_left._x+(target_mc._width)*k;
		target_mc.pictureValue = k;
		target_mc.onRelease = function() {
			p = this.pictureValue-1;
			nextImage();
			home.my_sound.start();
		};
		target_mc.onRollOver = function() {
			this._alpha = 50;
			thumbNailScroller();
		};
		target_mc.onRollOut = function() {
			this._alpha = 100;
		};
	};
	image_mcl = new MovieClipLoader();
	image_mcl.addListener(tlistener);
	image_mcl.loadClip(thumbnails[k], "myThumbs.thumbnail_mc.t"+k);
}

```
