# \[f8\] simple (I hope) Q: constantly get current property w/actionscript

**URL:** <https://forum.kirupa.com/t/f8-simple-i-hope-q-constantly-get-current-property-w-actionscript/216331>\
**Category:** flash\
**Created:** [February 15, 2007, 3:22pm UTC](https://forum.kirupa.com/t/f8-simple-i-hope-q-constantly-get-current-property-w-actionscript/216331 "2007-02-15T15:22:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CraigMayhem](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@CraigMayhem](https://forum.kirupa.com/u/CraigMayhem)\
**Post date:** [February 15, 2007, 3:22pm UTC](https://forum.kirupa.com/t/f8-simple-i-hope-q-constantly-get-current-property-w-actionscript/216331/1 "2007-02-15T15:22:58Z")

</div>

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:

```auto

_global.xScale=_root.mySquare._xscale;
_global.yScale=_root.mySquare._yscale;

```

Frame 2:

```auto

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!
