quisiera que me ayudaran con este codigo
en si el error que me da es que muy poco percistible que cuando me acerco entre boton y boton brinca los botones
esta es la liga de la pagina para ver el error
http://tequilaspremium.com/lapinta/en/main.html
Código:
centerx = Stage.width;
centery = Stage.height / 2.5;
menucount = 8;
miwidth = this["btn0" + menucount - 1]._width;
miborder = 2;
AnchMen = 0;
onEnterFrame = function ()
{
var _loc7 = 0;
for (var _loc2 = 0; _loc2 < menucount; ++_loc2)
{
var _loc3 = this["btn0" + _loc2]._xmouse;
var _loc5 = this["btn0" + _loc2]._ymouse;
var _loc4 = Math.sqrt(_loc3 * _loc3 + _loc5 * _loc5);
if (_loc4 < 200)
{
this["btn0" + _loc2]._xscale = this["btn0" + _loc2]._yscale = this["btn0" + _loc2]._yscale + (250 - _loc4 - this["btn0" + _loc2]._yscale) / 3;
}
else
{
this["btn0" + _loc2]._xscale = this["btn0" + _loc2]._yscale = this["btn0" + _loc2]._yscale + (70 - this["btn0" + _loc2]._yscale) / 3;
} // end else if
_loc7 = _loc7 + this["btn0" + _loc2]._width;
} // end of for
_loc7 = _loc7 + (menucount - 1) * miborder;
var _loc6 = Math.round((centerx - _loc7) / 2);
_loc6 = _loc6 + Math.round((this.btn00._width + miborder) / 2);
for (var _loc2 = 1; _loc2 < menucount; ++_loc2)
{
x = _loc2 - 1;
_loc6 = _loc6 + (this["btn0" + x]._width / 2 + miborder + this["btn0" + _loc2]._width / 2);
this["btn0" + _loc2]._x = _loc6;
this["btn0" + _loc2]._y = centery;
} // end of for
this.btn00._x = this.btn01._x - this.btn00._width - miborder;
this.btn00._y = centery;
};
esta es la liga de la pagina para ver el error
http://tequilaspremium.com/lapinta/en/main.html