
Soy novatillo y llevo ya un tiempo intentando arreglar un problema que tengo con el internet explorer kk.
He puesto un menú 3D giratorio de un magnífico tutorial de aqui....En el mozilla funciona perfectamente pero en el explorer cuando vuevle a cargar la página "principal" (el único sítio que puse menú giratorio) o volver a ella desde otro menú, ésta queda continuamente cargando sin parar.
Si quereis ver un ejmplo, la tengo colgada:
http://zisneros.zulm.c.telefonica.net/principal.html
Pongo el script:
//proto q movera las letras
MovieClip.prototype.carusel = function(mover, posicionFinal) {
mueveAngulo(posicionFinal);
if (mover) {
this.onEnterFrame = function() {
this._x = centrox+Math.cos((Math.PI/180)*(angulo+this.angulo))*radio;
this._y = centroy+Math.sin((Math.PI/180)*(angulo+this.angulo))*radio/-20;
this.z = Math.sin((Math.PI/180)*(angulo+this.angulo))*radio;
this._alpha = this._yscale=this._xscale=(100*distanciafocal)/(distanciafocal+this.z);
this.swapDepths(-1*this.z);
};
} else {
delete this.onEnterFrame;
}
};
function mueveAngulo(posicionFinal) {
this.onEnterFrame = function() {
if ((Math.round(angulo)) == Math.round(posicionFinal)) {
mueveLetras(false);
trace("angulo"+angulo+"posicionFinal"+posicionFinal);
delete this.onEnterFrame;
} else {
//contador de frames
if (counter++%30 == 1) {
// updates every 30 frames
thisTime = getTimer();
rate = Math.round(10000/(thisTime-lastTime))/10;
if (rate%1 == 0) {
rate += ".0";
}
fps = "fps: "+rate;
} else if (counter%30 == 1) {
lastTime = getTimer();
}
angl.text = "Angulo : "+Math.round(angulo);
angulo += ((posicionFinal-angulo)/30);
}
};
}
//para ir sumando la profundidad
function maxprofundidad() {
return ++profundidad;
}
//inicio variables
centrox = 800/2;
centroy = 750/2;
radio = 200;
distanciafocal = 400;
//creando los titulos
titulos = "Principal Empresa Servicios Clientes Contacto ";
//creando los clips q contendran las letras
function creaLetras() {
letras = new Array();
for (i=0; i<=titulos.length; i++) {
letras[i] = titulos.substr(i, 1);
var letra = this.attachMovie("letrita", "letrita"+i, maxprofundidad());
letra.angulo.i = i;
letra.angulo = (360/titulos.length)*i;
letra.contenido.text = letras[i];
letra.carusel(true, 243);
//trace(letra);
}
}
creaLetras();
function mueveLetras(mover, posicionFinal) {
trace(this)
for (i=0; i<=titulos.length; i++) {
this["letrita"+i].carusel(mover, posicionFinal);
}
}
b1.onRollOver = function() {
mueveLetras(true, 243);
};
b2.onRollOver = function() {
mueveLetras(true, 171);
};
b3.onRollOver = function() {
mueveLetras(true, 98 );
};
b4.onRollOver = function() {
mueveLetras(true, 23);
};
b5.onRollOver = function() {
mueveLetras(true, -50);
};
b6.onRollOver = function() {
mueveLetras(true, -49);
};
stop();
Encontré info sobre el caso Eolas....pero creo que no tiene que ver, supongo que será un error con el script.
Tengo instalada la última versión de flash player en el IE.
Me estoy volviendo majara y no resuelvo el problema...os agradecería mucho que me ayudarais.
Estoy por poner otro menú y acabar ya la web....snifff..(es que mola el 3D giratorio).
Un saludo y gracias
