# Scrolling thumbnails not scrolling within parent fla

**URL:** <https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486>\
**Category:** Uncategorized\
**Created:** [March 9, 2006, 6:46pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486 "2006-03-09T18:46:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ztowne](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@ztowne](https://forum.kirupa.com/u/ztowne)\
**Post date:** [March 9, 2006, 6:46pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/1 "2006-03-09T18:46:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![f22a6](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@f22a6](https://forum.kirupa.com/u/f22a6)\
**Post date:** [March 19, 2006, 3:17pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/2 "2006-03-19T15:17:32Z")

</div>

I have the same problem too… I couldn’t figure it out to make scroller move… please help. [the .zip](http://www.endlesscreative.com/file.zip) which contains parent and photogallery files.

Thanks  
F22a6

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [March 19, 2006, 4:22pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/3 "2006-03-19T16:22:13Z")

</div>

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

```auto
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(-:

---

<div class="post-metadata">

**Author:** ![f22a6](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@f22a6](https://forum.kirupa.com/u/f22a6)\
**Post date:** [March 20, 2006, 3:19pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/4 "2006-03-20T15:19:02Z")

</div>

yeah… it works. Thanks a lot, Scotty.

F22a6

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [March 21, 2006, 1:34pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/5 "2006-03-21T13:34:53Z")

</div>

no problem =)

---

<div class="post-metadata">

**Author:** ![ztowne](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@ztowne](https://forum.kirupa.com/u/ztowne)\
**Post date:** [March 22, 2006, 4:37pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/6 "2006-03-22T16:37:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cmec73](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@cmec73](https://forum.kirupa.com/u/cmec73)\
**Post date:** [March 26, 2006, 6:07pm UTC](https://forum.kirupa.com/t/scrolling-thumbnails-not-scrolling-within-parent-fla/181486/7 "2006-03-26T18:07:37Z")

</div>

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](http://www.edchew.archiquotes.info/portfolio.fla)  
[images.xml](http://www.edchew.archiquotes.info/images.xml)

Thank you.
