PDA

View Full Version : while loop



nobody
March 4th, 2003, 10:13 PM
can someone open up this .fla and tell my why they think it isnt working..
theres the wierd little chain thing doesnt start from the right spot and i dunno how to fix that

kode
March 5th, 2003, 02:03 AM
ehmm .. yeah ... where's the fla? :P

nobody
March 5th, 2003, 07:01 AM
wow... that would probably help

kode
March 5th, 2003, 07:29 AM
why don't you use for loops ??

for (init; condition; next) {
statement(s);
}
ie.

for (i=0; i<10; i++) {
duplicateMovieClip(particle_mc, "particle"+i+"_mc", i);
}
and everything seems fine to me .. ?? :-\

if you mean that the original particle_mc doesn't move at all .. it's because it's not included in your code.

i'd say place it out of the stage or set its _visible property to false :)

particle_mc._visible = false;
hope it helps =)