This is my first posting! I visit this site almost every other day and it has been a sort of online Gita for me. I am a designer and I find advanced actionscript really tugging at my brain cells. A little help in solving this would be nice:blush:.
memberInfo = [[“1”,“http://www.madmusings.com”],[“2”],[“3”],[“4”],[“5”],[“6”],[“7”]];
xPos = 100;
yPos = 100;
for (i = 0; i < memberInfo.length; i++){
attachMovie(“container”, “new”+i, i, {_x: xPos, _y: yPos});
xPos += this[“new” + i]._width + 5;
this[“new” + i].name.text = memberInfo*[0];
this[“new” + i].link = memberInfo*[1];
}
As you can see I got it working this far. Now I want to have an inner loop so that only 5 buttons [“container”] come in the first line at yPos=100 and next five in the second line at yPos=150.
I know it is a simple fix. But I just can’t seem to get it.
Madmusings