I am having problems with the adding thumbnails tutorial when i put the xml gallery into a movie clip. the thumbnail slider does not work properly. i don’t know if i have to put my movie clip paths in somewhere or what. the section of code that needs help is the following:
this.createEmptyMovieClip(“tscroller”, 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=bigplThumbnail_mc._y) &&
(_root._ymouse<=bigplThumbnail_mc._y+bigplThumbnail_mc._height))
{
if ((_root._xmouse>=(bigplHit_right._x-40)) &&
(bigplThumbnail_mc.hitTest(bigplHit_right))) {
bigplThumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=40) &&
(bigplThumbnail_mc.hitTest(bigplHit_left))) {
bigplThumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
i have been able to get it to go right, but then the delete tscroller won’t work. anyone that could help would be greatly appreciated. thanks.