So on the stage i want to have 25 container clips (called holder1, holder2, holder3, etc) and when the playhead enters that frame, i want it to load pic0.jpg into holder1, then pic1.jpg into holder2 and so on.
Can anybody help? It’s important that all the code is in the main movie so i don’t need to make swfs of all the pix.
i don’t want to use createEmptyMovieClip or duplicate mc.
i reckon there are two ways.
create an array for all the pix
set-up some kind of counter which adds 1 everytime the previous jpg has fully loaded.
Can anyone help? I want a nice, tight code and i’m not interested in a load bar or % (besides that is easy to add later).
You can see something like this at:
go to AW2003 > the collection and you’ll see the thumbs load sequentially.
The component looks pretty good, but i really need to do this with my own script, as i will be applying as to the loaded thumbs to achieve further animation.
but thanks for the effort, this component might come in handy somewhere else.
if (_root.holder[count].getBytesLoaded == _root.holder[count].getBytesTotal){
count++;
}
}
}
i know the syntax is wrong (that’s kinda the problem), but do you see my thought process? Dunno if someone can write this code for me properly so it does what it should?