my thumbnails are doing this:
X X X X X X X X X X X X
I want them to do this:
X X X
X X X
X X X
X X X
Can anyone help me??
This is my script:
var nextX = 0
var xmlfilephotos:XML = new XML();
var initThumb:Object = new Object();
xmlfilephotos.onLoad = function() {
for (var i:Number = 0; i<xmlfilephotos.firstChild.childNodes.length; i++) {
initThumb.photo = (xmlfilephotos.firstChild.childNodes*.attributes.photo);
makeAThumb(i);
nextX += 115;
function makeAThumb(num) {
thumbName = "mcThumb"+num;
mcScroller.attachMovie("thumb", thumbName, num, initThumb);
mcScroller[thumbName].mcPhoto.loadMovie("pictures/thumbs/"+mcScroller[thumbName].photo+".jpg");
mcScroller[thumbName]._x = nextX;
mcScroller[thumbName]._y = 0;
mcScroller[thumbName]._alpha = 80;
}
xmlweddingphotos.ignoreWhite = true;
xmlweddingphotos.load("filephotos.xml");
this.createEmptyMovieClip("mcScroller", this.getNextHighestDepth());
mcScroller._x = -644.5;
mcScroller._y = -50;