- Author had a Free File of the Month
- Won a Competition
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Item was Featured
- Author was Featured
- Bought between 50 and 99 items
- Has been a member for 5-6 years
- Community Superstar
- Item was Featured
- Author was Featured
- Has been a member for 5-6 years
- Won a Competition
- Sold between 50 000 and 100 000 dollars
- Bought between 10 and 49 items
- Referred between 50 and 99 users
- Europe
it’s not a good idea to load all the files at the beginning… makes the user to get bored
- Author had a Free File of the Month
- Won a Competition
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Item was Featured
- Author was Featured
- Bought between 50 and 99 items
- Has been a member for 5-6 years
this is the request so i have to do it 
- Author was Featured
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 5-6 years
- Item was Featured
- Netherlands
- Referred between 50 and 99 users
- Sold between 10 000 and 50 000 dollars
counter = 0
my_mc = new MovieClipLoader();
listener = new Object
my_mc.addListener(listener)
listener.onLoadInit = function(){
counter+=1
my_mc.loadClip(image[counter], bigImage[counter]);
}
my_mc.loadClip(image[counter], bigImage[counter]);
in this example “image” is an array with the paths to the images. “bigImage” is an array containing the target movieclip.
You could make put an if statement somewhere, like:
if(counter >= total){
//start gallery
}
- Author had a Free File of the Month
- Won a Competition
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Item was Featured
- Author was Featured
- Bought between 50 and 99 items
- Has been a member for 5-6 years
Thank you BigZ 
- Author was Featured
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 6-7 years
- Interviewed on the Envato Notes blog
- Item was Featured
- Microlancer Beta Tester
- Referred between 200 and 499 users
Here is furnished version of BigZ’s code:
var counter:Number = 0;
var my_mc:MovieClipLoader = new MovieClipLoader();
var listener : Object = new Object();
my_mc.addListener(listener)
function startLoadingImages():Void{
loadNextImage();
}
function loadNextImage():Void{
my_mc.loadClip(images[counter], bigImage[counter]);
}
listener.onLoadInit = function(){
if( ++counter < images.length ){
loadNextImage();
}
else{
initGallery();
}
}
startLoadingImages();
- Author was Featured
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 5-6 years
- Item was Featured
- Netherlands
- Referred between 50 and 99 users
- Sold between 10 000 and 50 000 dollars
yeah saafi, I thought he could think of that himself
anyways nice refined code 
glad to be able to help.
- Author had a Free File of the Month
- Won a Competition
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Item was Featured
- Author was Featured
- Bought between 50 and 99 items
- Has been a member for 5-6 years
Thank you both of you 
- Community Superstar
- Item was Featured
- Author was Featured
- Has been a member for 5-6 years
- Won a Competition
- Sold between 50 000 and 100 000 dollars
- Bought between 10 and 49 items
- Referred between 50 and 99 users
- Europe
var my_mc:MovieClipLoader = new MovieClipLoader();
var listener : Object = new Object();
my_mc.addListener(listener)
function loadNextImage():Void{
my_mc.loadClip(images[images.length], bigImage[images.length]);
}
listener.onLoadInit = function(){
images.pop()
if(images.length > 0) {
loadNextImage();
} else {
initGallery();
}
}
loadNextImage();

- Author had a Free File of the Month
- Won a Competition
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Item was Featured
- Author was Featured
- Bought between 50 and 99 items
- Has been a member for 5-6 years
I will try it tomorrow, it’s too late now 
