Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/10/2006, 15:35
Avatar de jahepi
jahepi
Colaborador
 
Fecha de Ingreso: diciembre-2004
Ubicación: Querétaro
Mensajes: 1.124
Antigüedad: 19 años, 4 meses
Puntos: 43
Hola Slak!

EN el código modifica este evento por este:

Código:
xml.onLoad = function()
{
	var nodes = this.firstChild.childNodes;
	numOfItems = nodes.length;
	for(var i=0;i<numOfItems;i++)
	{
		var t = home.attachMovie("item","item"+i,i+1);
		t.angle = i * ((Math.PI*2)/numOfItems);
		t.onEnterFrame = mover;
		t.toolText = nodes[i].attributes.tooltip;
		t.toolURL = nodes[i].attributes.url; //Esto fue lo que le agregué
		t.icon.inner.loadMovie(nodes[i].attributes.image);
		t.r.inner.loadMovie(nodes[i].attributes.image);
		t.icon.onRollOver = over;
		t.icon.onRollOut = out;
		t.icon.onRelease = released;
	}
}
Y mas abajito modificas esta función también:

Código:
function released()
{
	trace(this._parent.toolText);
	getURL("javascript:void(window.open('"+this._parent.toolURL+"', 'ventana','menubar=0,toolbar=0,scrollbars=0,directories=0,width=500,height=500'))");
}
En width y height modificas el tamaño de la ventana.

Y en tu xml a cada nodo le agregas un atributo "url", por ejemplo:

Código:
<icon image="img/Games2.png" tooltip="Games" url="http://www.forosdelweb.com" />

Un saludo y gracias esta genial el efecto!