Comunidad de diseño web y desarrollo en internet online

Error al abrir la URL

Citar            
MensajeEscrito el 03 Nov 2009 06:44 am
hola quisiera saber si me podrian ayudar, toy haciendo una galeria de imagenes en flash CS4, y soy nuevo en ellos, les pido su ayuda para ver q error tengo porq al parecer el codigo esta bien pero no entiendo bien el error, el codigo es el siguiente:

info= new LoadVars();
info.load("imagenes.txt");
info.onLoad= function(leer){
if(leer){
fotos= new Array();
for(i=1; i<=info.total; i++){
fotos[i]= this["fotos"+i];
}
// creamos dos movie clips vacios
_root.createEmptyMovieClip("imagen1",10);
imagen1._x= 10
imagen._y= 10
_root.createEmptyMovieClip("imagen2",11);
imagen2._x= 10
imagen2._y= 10
im=1;
imagen1.loadMovie("imagenes/"+fotos[im]);
im++;
imagen2.loadMovie("imagenes/"+fotos[im]);
imagen2._alpha=0;
disol= 40;
vel=40;
count_d=0;
count_f=0;
curr_mc=1;
onEnterFrame = function(){
if(curr_mc==1){
count_f++;
if(count_f>=vel){
curr_mc=2;
cambio="IN";
}
}
if(curr_mc ==2) {
if(cambio =="IN"){
imagen2._alpha+= 100/disol;
if(imagen2._alpha>=100){
imagen2._alpha=100;
cambio="FIJO";
count_f=0;
im++;
if(im== fotos.length){
im=1;
}
imagen1.loadMovie("imagenes/"+fotos[im]);
}
}
if(cambio == "FIJO"){
count_f++;
if(count_f>=vel){
cambio="OUT";
}
}
if(cambio == "OUT"){
imagen2._alpha= 100/disol;
if(imagen2._alpha<=0){
imagen2._alpha=0;
curr_mc=1;
count_f=0;
im++;
if( im== fotos.length){
im=1;
}
imagen2.loadMovie("imagenes/"+fotos[im]);
}
}
}
};
}
};

Si pudieran ayudar se les agradeceria bastante.

Por JJRR87

0 de clabLevel



 

firefox
Citar            
MensajeEscrito el 03 Nov 2009 04:49 pm
Que error se supone que te da?

Por ur!

256 de clabLevel



 

Barcelona

chrome

 

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