Copy link to clipboard
Copied
Hello,
I have several Mc on stage.
I need to have diferent kind of rotation fo each one.
I supose to use the method .rotation in a list,
Can I use for example somethig like:
MyList[x,y,a,b,c ....].rotation
or whatever
Wich is the way to solve this?
Thank you.
you can use:
mcA:Array = [mc1,mc2,etc]
for(var i:int=0;i<mcA.length;i++){
mcA.rotation=whatever
}
Copy link to clipboard
Copied
you can use:
mcA:Array = [mc1,mc2,etc]
for(var i:int=0;i<mcA.length;i++){
mcA.rotation=whatever
}
Copy link to clipboard
Copied
Thank you kglad!!!
This works great;
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now