Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/01/2009, 09:23
martuanez
 
Fecha de Ingreso: julio-2008
Mensajes: 109
Antigüedad: 15 años, 9 meses
Puntos: 0
Respuesta: Enlace en una nueva pestaña

Gracias thenthelit por tu pronta respuesta, mi lio creo esta aquí abajo:
Si no me equivoco este es el codigo que usan esos vinculos y algo más abajo dice:
Cita:
getURL(links[this.i], "_top");
eso se aplica a todos los links( siempre suponiendo ya que mis conocimientos de action script dejan mucho que desear) yo quiero que todos menos el ultimo sean así y el ultimo que se abra en una nueva pestaña, que se puede se puede, solo que mi cononcimiento no me da para tanto ...por ahora... quizás alguien me pueda pasar algo para copiar y pegar? de seguro estaría muy agradecido

Cita:
function goFrame(mc)
{
if (mc._currentframe < mc._totalframes)
{
mc.onEnterFrame = function ()
{
mc.nextFrame();
if (mc._currentframe == mc._totalframes)
{
delete mc.onEnterFrame;
} // end if
};
} // end if
} // End of the function
function backFrame(mc)
{
delete mc.onEnterFrame;
mc.onEnterFrame = function ()
{
mc.prevFrame();
if (mc._currentframe == 1)
{
delete mc.onEnterFrame;
} // end if
};
} // End of the function
function fcn()
{
for (i = 0; i < menu.length; i++)
{
if (i != selecionado)
{
_root["b" + i].enabled = true;
_root["b" + i].useHandCursor = true;
backFrame(_root["b" + i]);
} // end if
} // end of for
} // End of the function
this._lockroot = true;
qtd = menu.length;
for (i = 0; i < qtd; i++)
{
botao.duplicateMovieClip("b" + i, _root.getNextHighestDepth());
b = _root["b" + i];
b.i = i;
b._y = b._y + i * 38;
b.numero.texto.text = "0" + (this.i + 1);
b.numero2.texto.text = "0" + (this.i + 1);
b.titulo.texto.text = menu[this.i];
b.titulo2.texto.text = menu[this.i];
b.desc.texto.text = descricao[this.i];
var my_color = new Color(b.mcBg.mcG);
my_color.setRGB(cor);
_global.selecionado = 10;
goFrame(_root.b10);
_root.b10.enabled = false;
_root.b10.useHandCursor = false;
b.onRollOver = function ()
{
goFrame(this);
};
b.onRollOut = function ()
{
backFrame(this);
};
b.onRelease = function ()
{not_set_yet.displayMode
_global.selecionado = this.i;
this.enabled = false;
this.useHandCursor = false;
fcn();
getURL(links[this.i], "_top");
};
unloadMovie(botao);
} // end of for