|
-
MovieClips
Hi, I need help!!!
I have many MovieClips (86 hahaha).
I have an array like this
var array:Array = new Array(1, 2, 3, 4, 5);
And I need to do comparisons like this
if(array[0]==1){
mc1.visible = true;
}
else{
mc1.visible = false;
}
but I need to do the same thing in the 86 movieclips, is there any way to do it in a "for" like this
for(i=0; i!=4; i++){
for(j=0; j!=86; j++){
if(vector[i]==j)
mc_[j+1].visible = true; //The movie clip from 1 to 86
else
mc_[j+1].visible = false; //The movie clip from 1 to 86
}
}
The important thing is that I don't know how to do it...
HELP PLEASE
Thanks for helping....
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|