Foros del Web » Creando para Internet » Flash y Actionscript »

Ayuda con menu urgenteeeee plisss

Estas en el tema de Ayuda con menu urgenteeeee plisss en el foro de Flash y Actionscript en Foros del Web. HOLA COMO ESTAN? el codigo del menu es el siguiente: var entrfrm = function (Void) { var _loc3 = this._parent["clip" + (this.index + 1)]; var ...
  #1 (permalink)  
Antiguo 24/03/2009, 11:47
 
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.
  #2 (permalink)  
Antiguo 24/03/2009, 12:21
Avatar de Diegoazul  
Fecha de Ingreso: mayo-2007
Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 16 años, 10 meses
Puntos: 67
Respuesta: Ayuda con menu urgenteeeee plisss

Utilizasté algún descompilador?.

Última edición por Diegoazul; 24/03/2009 a las 12:22 Razón: horrografia
  #3 (permalink)  
Antiguo 24/03/2009, 13:17
 
Fecha de Ingreso: marzo-2009
Mensajes: 3
Antigüedad: 15 años, 1 mes
Puntos: 0
Respuesta: Ayuda con menu urgenteeeee plisss

si ¿porque?
  #4 (permalink)  
Antiguo 24/03/2009, 15:56
Avatar de Diegoazul  
Fecha de Ingreso: mayo-2007
Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 16 años, 10 meses
Puntos: 67
Respuesta: Ayuda con menu urgenteeeee plisss

Porque los descompiladores por lo regular no te generan el codigo entendible, por eso no se debe usar los descompiladores, los descompiladores solo sirven para saber como se hizo una animacion , más no para aprender a codificar, mi recomendación es que lo hagas tu mismo, si no es tu swf no sabria ayudarte , si lo era dime que es lo que hace cada parte de tu codigo.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 01:09.