hey guys,
im going insane here looking at this code. i need the thumbnails to load up the larger version of the images in the container movie clip, but its not diong it, when i click the thumb on the right nothing happens.
here is the code i have for the first frame of the movie:
numimages = 24;
// T is the clip inside slider that is masked (itholds thethumbs)
imgdir = 'imgs';
function loadImage(id){
imgloadin.loadMovie(imgdir+'/img'+id+'.jpg');
}
for(i=0;i<numimages;i++){s
slider.T.attachMovie('thumbclip','thumb'+i,i);
slider.T['thumb'+i].id = i;
slider.T['thumb'+i]._x = 5;
slider.T['thumb'+i]._y = 5+55*i;
slider.T['thumb'+i].loadin.loadMovie(imgdir+'/img'+i+'thumb.jpg');
}
scroller.createEmptyMovieClip('donkey',1);
scroller.doPress = function(){
this.startDrag(false,this._x,65,this._x,285);
this.donkey.onEnterFrame = function(){
slider.T._y = 10 -Math.floor(slider.T._height-240)*(scroller._y-65)/(220)
}
}
scroller.doRelease = function(){
this.stopDrag();
delete this.donkey.onEnterFrame;
}
and here is the code on the linked thumbclip:
on(release){
loadImage(id);
_parent['thumb'+_parent.selected].whitebord._alpha = 100;
_parent['thumb'+_parent.selected].gotoAndStop(1);
_parent.selected = id;
whitebord._alpha= 70;
}
on(rollOver){
gotoAndStop(2);
}
on(rollOut, dragOut){
if(_parent.selected != id)
gotoAndStop(1);
}
thanks in advance for any help offered, i really do appreciate it.