Forum Moderators: open
if(movieclip1._y==theothervariable){
}
if(movieclip2._y==theothervariable){
}
But condensed similar to an array?:
var checking = 1;
while (checking<3){
if(movieclip[checking]==theothervariable){//This is the part that I am not sure on.
//The other code
}
checking++;
}
Any help would be greatly appreciated!
(standard Flash CML import/parse, then as you look through the XML nodes)
images[k]=image;
captions[k]=cap;
Which assigns them an index in the array.
So now when you create movie symbol names,
for (i=0;i<images.length;i++) {
moviename= 'moviename'+i;
}
And you'd access and parse the movie symbols the same way.
Would be my first guess. Honestly, off the top, don't know, I'd have to get in and play with it.
I use eval there because I've had some come-and go problems with dynamically named movie symbols, the specifics are sadly absent, also due to having too much stuff crammed in my head. :-\