# HELP PLEASE im not very good with maths!

**URL:** <https://forum.kirupa.com/t/help-please-im-not-very-good-with-maths/166418>\
**Category:** flash\
**Created:** [October 19, 2005, 7:17pm UTC](https://forum.kirupa.com/t/help-please-im-not-very-good-with-maths/166418 "2005-10-19T19:17:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![De\_Magalhaes](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@De\_Magalhaes](https://forum.kirupa.com/u/De_Magalhaes)\
**Post date:** [October 19, 2005, 7:17pm UTC](https://forum.kirupa.com/t/help-please-im-not-very-good-with-maths/166418/1 "2005-10-19T19:17:51Z")

</div>

ok here is the problem i have a littlepiece of script the only thing i need is get the property of “ay” and “ax” evaluated all the time to use the numeric value, since i can’t use eval… how it can be done\_!_!_!\_! help people please  
obviusly this script is in the first frame and the mc “agencia” starts at 100% i always get 100 as a return and as i explained before i need to get the value all the time!!!

here is the script

ax = getProperty(agencia, \_xscale)  
ay = getProperty(agencia, \_yscale)

import mx.transitions.Tween;  
import mx.transitions.easing.\*;

rollagencia = function () {  
new Tween(agencia, “\_xscale”, Elastic.easeOut, 100, 180, 5, true);  
new Tween(agencia, “\_yscale”, Elastic.easeOut, 100, 180, 5, true);  
new Tween(servicios, “\_xscale”, Elastic.easeOut, 100, 20, 3, true);  
new Tween(servicios, “\_yscale”, Elastic.easeOut, 100, 20, 3, true);  
new Tween(portafolio, “\_xscale”, Elastic.easeOut, 100, 40, 2, true);  
new Tween(portafolio, “\_yscale”, Elastic.easeOut, 100, 40, 2, true);  
new Tween(clientes, “\_xscale”, Elastic.easeOut, 100, 10, 1, true);  
new Tween(clientes, “\_yscale”, Elastic.easeOut, 100, 10, 1, true);  
};

primestate = function () {  
new Tween(agencia, “\_xscale”, Elastic.easeOut, ax, 100, 3, true);  
new Tween(agencia, “\_yscale”, Elastic.easeOut, ay, 100, 3, true);  
new Tween(servicios, “\_xscale”, Elastic.easeOut, 20, 100, 2, true);  
new Tween(servicios, “\_yscale”, Elastic.easeOut, 20, 100, 2, true);  
new Tween(portafolio, “\_xscale”, Elastic.easeOut, 40, 100, 1, true);  
new Tween(portafolio, “\_yscale”, Elastic.easeOut, 40, 100, 1, true);  
new Tween(clientes, “\_xscale”, Elastic.easeOut, 10, 100, 1, true);  
new Tween(clientes, “\_yscale”, Elastic.easeOut, 10, 100, 1, true);  
};

thanks people!
