I'm trying to position a series of MCs using an array and a for loop. My problem is that my clipB will not accept the s1._y positioning. If I change:
_root.clipB._y = s1._y
to
s2._y = s1._y
then it works.
var myArray:Array = Array("s1", "s2", "s3");
//placement formula
for( i=0; i<myArray.length; i++ ){
_root.clipB = myArray[i];
_root.clipB._y = s1._y;
}