Heloo…
Okay I just have a code attaching mc for create a thumbnail…so my problem is I can’t assign a onPress action…because when I test it …it’s seem not working…so I really need help u guys …at least tell me what’s wrong with this code…for load image thumnail part is okay only for assigning onpress action…
stop();
tArray = ["bear0","bear1","bear2"];
for (var i = 0; i<tArray.length; i++) {
mythumb = attachMovie("box","box"+i,10+i);
mythumb._x = 30+mythumb._width*i;
mythumb._y = 10;
var mymc = mythumb.createEmptyMovieClip("holder"+i,50+i);
mymc.loadMovie(tArray*+".gif",99);
//////////////// only this part it's not working //////////////
mymc.onPress= function(){
trace("whoopss")
}
//////////////////////////////////////////////
}
Any help would be appreciate…tq in advanced…