Hi
I’ve taught myself actionscript without books (working on a book now, finally) and I’m wondering how to do something fairly simple:
Constantly get the property of an object…
for example, lets say I want to dynamically scale a clip using buttons… if you just use the tween class it will not work! I don’t know why (again self taught), but you have to constantly get the _xscale and _yscale property.
Currently I’m doing this via an empty movie clip with the following actionscript:
Frame 1:
_global.xScale=_root.mySquare._xscale;
_global.yScale=_root.mySquare._yscale;
Frame 2:
gotoAndPlay(1);
It works fine, but I assume there’s a purely as way to do this?
Also if anyone knows of an array tutorial for microbe-brained people (like myself), that would be helpful as well. I’ve gone through a few, but I still can’t fully wrap my mind around WHY and HOW it works (even though I’ve implemented plenty of arrays).
Thanks forum!