Scrolling thumbnails not scrolling within parent fla

yes - yet another question regarding the popular and useful photogallery tutorial.

i’ve gotten it to work, and gotten the swf loaded into a movie clip in my parent fla - but the scroll feature doesn’t seem to work…

any help is greatly appreciated.
thanks
zach

I have the same problem too… I couldn’t figure it out to make scroller move… please help. the .zip which contains parent and photogallery files.

Thanks
F22a6

It doesn’t work because you refer to _root in the thumbnailScroller function.
Change it like this (ie _root is replaced with this._parent)

function thumbNailScroller() {
	// thumbnail code! 
	this.createEmptyMovieClip("tscroller", 1000);
	scroll_speed = 20;
	tscroller.onEnterFrame = function() {
		if ((this._parent._ymouse>=thumbnail_mc._y) && (this._parent._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
			if ((this._parent._xmouse>=(hit_right._x-40)) && (thumbnail_mc.hitTest(hit_right))) {
				thumbnail_mc._x -= scroll_speed;
			} else if ((this._parent._xmouse<=(hit_left._x+50)) && (thumbnail_mc.hitTest(hit_left))) {
				thumbnail_mc._x += scroll_speed;
			}
		} else {
			delete this.onEnterFrame;
		}
	};
}

scotty(-:

yeah… it works. Thanks a lot, Scotty.

F22a6

no problem =)

thanks - i appreciate your help - it’s working great now.

but now i’ve got a new problem: getting the viewer to load into dreamweaver as a working swf rather than just a static image - any hints / ideas?

thanks 100000
zach

I’m having a difficulty in trying to get the thumbnails appearing. Have look through the forum and did accordingly yet problem still persist. Everything is fine except thumbnails aren’t appearing. Pleased to attach the files. Appreciate your help.

portfolio.fla
images.xml

Thank you.