# FMX: can not -= \_x value past zero with small numbers

**URL:** <https://forum.kirupa.com/t/fmx-can-not--x-value-past-zero-with-small-numbers/115350>\
**Category:** Uncategorized\
**Created:** [July 7, 2004, 9:42pm UTC](https://forum.kirupa.com/t/fmx-can-not--x-value-past-zero-with-small-numbers/115350 "2004-07-07T21:42:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimbo\_jones](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jimbo\_jones](https://forum.kirupa.com/u/jimbo_jones)\
**Post date:** [July 7, 2004, 9:42pm UTC](https://forum.kirupa.com/t/fmx-can-not--x-value-past-zero-with-small-numbers/115350/1 "2004-07-07T21:42:54Z")

</div>

Hello,  
I am having a little trouble understanding why my code is not functioning. It works if I subtract and combine numbers above .1 but if I use a number below .1 the \_x and \_y values stop at 0. I would like the \_x and \_y values to go into the negative. I am using Flash MX.

function movePastCorner(mc){  
mc.\_x = 2;  
mc.\_y = 2;  
mc.onEnterFrame = function(){  
this.\_x -= 0.01;  
this.\_y -= 0.02;  
trace("X = "+this.\_x);  
trace(“Y = “+this.\_y);  
trace(”==============”);  
};  
}

I would greatly appreciate any guidence, thank you,  
-Jimbo
