ztowne
March 9, 2006, 6:46pm
1
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
f22a6
March 19, 2006, 3:17pm
2
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
scotty
March 19, 2006, 4:22pm
3
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(-:
f22a6
March 20, 2006, 3:19pm
4
yeah… it works. Thanks a lot, Scotty.
F22a6
ztowne
March 22, 2006, 4:37pm
6
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
cmec73
March 26, 2006, 6:07pm
7
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.