Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/03/2009, 11:47
ElArriero
 
Fecha de Ingreso: marzo-2009
Mensajes: 3
Antigüedad: 15 años, 1 mes
Puntos: 0
Ayuda con menu urgenteeeee plisss

HOLA COMO ESTAN?

el codigo del menu es el siguiente:

var entrfrm = function (Void)
{
var _loc3 = this._parent["clip" + (this.index + 1)];
var _loc2 = this._parent["clip" + (this.index - 1)];
if (_loc3 == undefined)
{
var _loc4 = _loc2._x + _loc2._width / 2;
this._x = _loc4 + this._width / 2;
}
else if (_loc2 == undefined)
{
var _loc5 = _loc3._x - _loc3._width / 2;
this._x = _loc5 - this._width / 2;
}
else
{
_loc5 = _loc3._x - _loc3._width / 2;
_loc4 = _loc2._x + _loc2._width / 2;
this._x = _loc4 + (_loc5 - _loc4) / 2;
} // end else if
};
var rollovr = function (Void)
{
this.twx.stop();
this.twy.stop();
this.twx = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Regular.easeOut, this._xscale, 300, 1, true);
this.twy = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Regular.easeOut, this._yscale, 300, 1, true);
};
var rollout = function (Void)
{
this.twx.stop();
this.twy.stop();
this.twx = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Regular.easeOut, this._xscale, 100, 1, true);
this.twy = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Regular.easeOut, this._yscale, 100, 1, true);
};
this.clip1.x = this.clip1._x;
var i = 1;
while (i <= 5)
{
this["clip" + i].index = i;
this["clip" + i].onEnterFrame = entrfrm;
this["clip" + i].onRollOver = rollovr;
this["clip" + i].onRollOut = rollout;
++i;
} // end while



el problema es que no puedo darle espaciado entre botones ni darle velocidad, si me pueden ayudar.

pd:para verlo activo, pegar codigo en el primer frame y crear 5 clip con nombre(clip1,clip2,clip3,clip4,clip5)

gracias.