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

ayuda con carrusel 3d flash

Estas en el tema de ayuda con carrusel 3d flash en el foro de Flash y Actionscript en Foros del Web. Por Favor nesecito ayuda con carrusel 3d flash tengo un carrusel flash de imagenes con archivo xml, y nesecito que cuando lo inserte en mi ...
  #1 (permalink)  
Antiguo 15/04/2010, 12:55
 
Fecha de Ingreso: abril-2010
Mensajes: 1
Antigüedad: 14 años
Puntos: 0
ayuda con carrusel 3d flash

Por Favor nesecito ayuda con carrusel 3d flash

tengo un carrusel flash de imagenes con archivo xml, y nesecito que cuando lo inserte en mi página web, al pinchar en las imágenes me redireccione a otro enlace que hay escrito en el xml. el problema es que cuando pincho en la imágen no pasa nada, pero cuando abro el archivo fla y pruebo la película en la ventana de salida si sale la redirección, y ya me estoy volviendo loco, no paro de dar vueltas y no encuentro nada, perdon por molestar si alguien me puede ayudar? se lo agradecería de por vida.
muchas gracias de antemano.
este el xml

<data>
<foto nom_xml="./fotos/00.jpg" url_xml="http://www.youtube.com/user/PRODUCCIONESMIR#p/a/u/0/ZYKPCALayMk/" />
<foto nom_xml="./fotos/01.jpg" url_xml="http://www.MIRPRODUCCIONES.COM/" />
<foto nom_xml="./fotos/02.jpg" url_xml="http://www.youtube.com/watch?v=mAXqz958Td0&feature=related" />
<foto nom_xml="./fotos/03.jpg" url_xml="http://www.MIRPRODUCCIONES.com/" />
<foto nom_xml="./fotos/04.jpg" url_xml="http://www.MIRPRODUCCIONES.com/" />

</data>

y este las acciones AS2.0


var radioX:Number = 300;
var radioY:Number = 20;
var centroX:Number = Stage.width / 2 - 20;
var centroY:Number = Stage.height / 2;
var perspectiva:Number = 50;
var velocidad:Number = 0.1;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.load("xml/datos.xml");
xml.onLoad = function()
{
var nodo = xml.firstChild.childNodes;

for (i = 0; i < nodo.length; i++)
{
var mcs = attachMovie("item", "item" + i, i);
mcs.angle = i * ((Math.PI * 2) / nodo.length);
mcs.onEnterFrame = Movimiento;
mcs.foto_mc.url_flash = nodo[i].attributes.url_xml;
mcs.foto_mc.def_mc.loadMovie(nodo[i].attributes.nom_xml);
mcs.reflejo_mc.loadMovie(nodo[i].attributes.nom_xml);
mcs.foto_mc.onPress = function()
{
trace(this.url_flash);
}
}
};


function Movimiento()
{
this._x = Math.cos(this.angle) * radioX + centroX;
this._y = Math.sin(this.angle) * radioY + centroY;
this.angle += this._parent.velocidad;
var s = (this._y - perspectiva) / (centroY + radioY - perspectiva);
this._xscale = 100 * s;
this._yscale = 100 * s;
this.swapDepths(Math.round(this._xscale) + 100);
}

this.onMouseMove = function()
{
velocidad = (this._xmouse - centroX) / 2000;
};



Etiquetas: flash, carrousel
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 19:15.