Please help convert as2 to as3

duplicateMovieClip(“shape”, “shape” + i, 900 - i);
setProperty(“shape” + i, _yscale, getProperty(“shape” + (i - 1), _yscale) - i * 0.090909);
setProperty(“shape” + i, _xscale, getProperty(“shape” + (i - 1), _xscale) - i * 0.100000);
setProperty(“shape” + i, _alpha, 20 - i * 0.100000);
i = i + 1;

thx

shapes[i] = new public::['shape']

shapes[i].scaleY = shapes[i - 1].scaleY - i * 0.090909
shapes[i].scaleX = shapes[i - 1].scaleX - i * 0.1
shapes[i].alpha = 0.2 - i * 0.001

i += 1
2 Likes