hi
im making an xml generated gallery of thumbnail images. so far i have loaded the xml data and made it so that there is a master movie clip made and then a loop for subsequent thumbs that duplicate that movie clip. as follows…
function callImages() {
//MAKE FIRST THUMB
this.createEmptyMovieClip(“thumb”,this.getNextHighestDepth());
with(thumb){
loadMovie(image[p]);
_x=5
_y=5
_xscale=50
_yscale=50
}
//LOOP FURTHER THUMBS
total=xmlNode.childNodes.length;
for (p=1;p<total;p++){
cell++;
if (cell==4){
row++;
cell=1;
}
trace(cell)
thumb.duplicateMovieClip(“thumb” + p,this.getNextHighestDepth());
with (_root[“thumb”+p]) {
loadMovie(image[p]);
_x=cell170-165
_y=row120-115
_xscale=50
_yscale=50
}
}
}
my question is how do i make these movie clips act as buttons? i want it so that i can control using AS what happens when each are rolled over and of course what happens when you click one. but they are generated as movieclips not buttons…there’s no such thing as createemptybutton? im so confused, im new to actionscripting
please please please help
/EDIT - im aware that i may be going about this the totally wrong way, is it right to generate a table of thumbnails in this way in the first place?
thanks