Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/09/2008, 09:38
MarvinMartian
 
Fecha de Ingreso: mayo-2008
Mensajes: 12
Antigüedad: 15 años, 11 meses
Puntos: 0
Menu con array y easing

Tengo el siguiente código y necesito saber cómo hacer para que los botones, en vez de ir a una URL vaya a un determinado frame de mi película. ¿Se puede hacer?

MovieClip.prototype.Ampliar = function(valor) {
this.onEnterFrame = function() {
this._xscale = valor-(valor-this._xscale)/1.1;
this._yscale = this._xscale;
};
};
Enlaces = new Array();
Enlaces = ["",http://www.google.com","http://www.yahoo.es", "http://www.macromedia.com", "http://www.adobe.com","http://www.mozilla.org"];

for (i=1; i<6; i++) {
Btn = this["Boton"+i];
Btn.Link = Enlaces[i];
Btn.onRollOver = function() {
this.Ampliar(200);
}
Btn.onRollOut = function() {
this.Ampliar(100);
}
Btn.onRelease = function() {
getURL(this.Link);
}
}stop();
;