Howdy
Ok so Iām working on a project at my job and things are going very well. The Flash application is 100% dynamic from text to text field colors, to panel colors, etcā¦
The back end runs off of ASP in case youāre curious.
Now we are up to the part where we have to load images into a panel. The images are uploaded by the user and the names are stored in a database. The panel should load 6 images at a time, 3 rows 2 columns.
Our ASP programmers arenāt 100% sure on how they should be sending me the images. I started toying around with some code, assuming I have an image count which they will provide.
Hereās what i have so far.
var menu = this.createEmptyMovieClip("menu", 99);
menu._x = menu._y=0;
for (var i = 0; i<6; i++) { // 6 would be something like imageNum
var item = menu.createEmptyMovieClip("item"+i, i);
item._x= i*150;
item.attachMovie("mc", "mc", 1);
}
So as of now I have 6 panels going across my movie, which is fine, but now I need to columnize them into 3 rows 2 columns.
So thatās my concern as of now. Later on I will need to figure out how to say āif there are 6+ images have next and previous buttons to load the next onesā. So if anyone has any good links on that it would be cool.
Thanks yall
Dave