Comunidad de diseño web y desarrollo en internet online

Vilculos

Citar            
MensajeEscrito el 02 Oct 2009 02:35 pm
buenos días.

Hola muchachos tengo el siguiente inconveniente, tengo un menu tipo carrusel de opciones pero cuando hago click sobre cada opcion las misma estan por defecto en _parent, yo necesito cambiar este comportamiento a _blank o _top, el detalle es que cuando cambio el comportamiento no me lo reconoce.

el codigo es el siguiente:
stop();

// total is length of label_list OR link_list
// OR total frames inside "ferhost thumbnails"
var total:Number = 12;
// length of label_list array and length of link_list array must be equal
// to length of frames inside "ferhost thumbnails" movieclip
var label_list:Array = new Array("GSS","GLOBALPASSWORD","WORFLOW","THOSPOINT","SAP WAREHOUSE","ACUVE","SAFEFLEET","TPM","EXTENSIONES","PEDIDO","BABY","vozdelempleado");

var link_list:Array = new Array("http://passport.na.jnj.com/frames/Global_Specs_System.htm","http://passport.cpcus.jnj.com/portal/la_region.asp","http://ncsbrsjntw01/web/PORTAL.nsf","http://touchpoint.jnj.com/Pages/default.aspx","http://www.conve.jnj.com/JNJINTRANET/intranet/Home/sap/index.html","http://www.acuvue.com.ve","http://www.conve.jnj.com/JNJINTRANET/intranet/SEGURIDAD/Seguridad/Index.htm","../../TPM/Introduccion.htm","http://jnjvecatempdb:8282/tuscompras/openLogin.do?method=open","http://jnjvecawebbi/extensiones_telefonicas/Extensiones80.asp","http://babycenter.com","http://www.conve.jnj.com/JNJINTRANET/intranet/Home/Ads/VozEmpleado.asp");

var radiusY:Number = 80;
var radiusX:Number = 215;
var centerX:Number = 265;
var centerY:Number = 140;
var speed:Number = 0.005;
tn_group_mc._visible = false;
info.text = ""; fm_label.text = "";

for( var i = 0; i < total; i++)
{
var t = tn_group_mc.duplicateMovieClip("tn"+i, i);
t.tn_mc.gotoAndStop(i+1); t.tn_shadow_mc.gotoAndStop(i+1);
t.fm_label = label_list[i];
t.fm_url = link_list[i];

t.angle = i * ((Math.PI*2)/total);
t.onEnterFrame = mover;

t.fm_button.onRollOver = function()
{
fm_label.text = "\"Title: \"+this.";
info.text = "URL: " + this._parent.fm_url;
}
t.fm_button.onRollOut = function()
{
info.text = ""; fm_label.text = "";
}
t.fm_button.onRelease = function()
{
getURL( this._parent.fm_url );
}
}
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = this._y /(centerY+radiusY);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX) * 0.0001;
}


Podrian ayudarme con este inconveniente por favor?

Muchas gracias de antemano espero su ayuda..

Por banrey

3 de clabLevel



 

msie7
Citar            
MensajeEscrito el 02 Oct 2009 02:41 pm
El problema es que el comportamiento que tre por defecto es _parent
yo necesito cambiarselo por _blank o por _top, como puedo cambiarselo
he intentado hacerlo y no me reconoce el cambio.

podrian ayudarme por fa... :D

Por banrey

3 de clabLevel



 

msie7
Citar            
MensajeEscrito el 02 Oct 2009 02:55 pm

Código ActionScript :

getURL( this._parent.fm_url, "_blank" );

Por nasho

Claber

908 de clabLevel

1 tutorial

Genero:Masculino  

Web Developer

firefox
Citar            
MensajeEscrito el 04 Oct 2009 09:22 am
Hola antes habia entrado en este foro es magnifico siempre encuentro buenas respuestas a todo en fin

mi problema es el siguiente tengo dos columnas cada una con sus botones una de preguntas y otra de respuestas la idea es pinchar en la columna de pregunta y despues la de respuestas si estos dos botones coinciden tengo un tercer boton con un texto dinamico que me indicara que es correcto o no segun corresponda, pero no se como poder hacer que los dos botones queden seleccionados y que en el boton de respuesta aparezca correcto si estan bien seleccionados (los botones de pregunta y respuesta)

podria alguien ayudarme ? muchas gracias es algo urgente

Por santaman667

3 de clabLevel



 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.