-
Actionscript explanation
Would someone be kind enough to explain what the following actionscript does:
Code:
a = "0";
x = getProperty("../org", _x);
y = getProperty("../org", _y);
nr = "9";
while (Number(a)<Number(nr)) {
a = Number(a)+1;
setProperty(a, _x, Number(((160-x)*((a-2)/((Number(nr)+1)/3))))+Number(x));
setProperty(a, _y, Number(((120-y)*((a-2)/((Number(nr)+1)/4))))+Number(y));
}
Cheers,
-rob :)
-
pretty old syntax. It's mainly setting _x and _y properties according to another _parent clip called 'org' in a 9 steps while loop.
gparis