Comunidad de diseño web y desarrollo en internet online

cambiar de flash en la actualizacion web

Citar            
MensajeEscrito el 29 Sep 2008 08:05 am
Como hacer para que cada ves que actulizen mi web aparesca un nuevo flash asi consecutivamente.

Por miguelsirna

315 de clabLevel



Genero:Masculino  

Hacker & Programmer

firefox
Citar            
MensajeEscrito el 29 Sep 2008 09:33 am
¿Te refieres a mostrasr imágenes aleatoriamente o algo así?

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 29 Sep 2008 08:39 pm
exacto pero que sean flash le dan f5 bien se puede repetir la imagen o cambiar.

Por miguelsirna

315 de clabLevel



Genero:Masculino  

Hacker & Programmer

chrome
Citar            
MensajeEscrito el 29 Sep 2008 09:31 pm
Busca en el foro por "imágenes aleatorias"

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 30 Sep 2008 04:21 am
wow quien lo diria encontre el codigo en un flash que hace eso bueno aca esta por si alguien lo llega a nacesitar:

Código :

Security.allowDomain("*");
_global.title = _root.title;
PageData = new String(_level0.nowM);
_global.DepthSt = PageData.substr(PageData.length - 6, 2);
if (_global.DepthSt == "B1")
{
    tempCH = 1;
}
else if (_global.DepthSt == "B2")
{
    tempCH = 2;
}
else if (_global.DepthSt == "B3")
{
    tempCH = 3;
}
else if (_global.DepthSt == "B4")
{
    tempCH = 4;
}
else if (_global.DepthSt == "B5")
{
    tempCH = 5;
}
else
{
    tempCH = random(5) + 1;
} // end else if
var _location = "/swf/banner/";
loadMovieNum(_location + "sub_visual_ch_" + tempCH + ".swf", 1);


tempCH = random(5) + 1; (cantidad de flashes)
} // end else if
var _location = "/swf/banner/";
loadMovieNum(_location + "sub_visual_ch_" + tempCH + ".swf", 1);[/code]

{
tempCH = 1;
}
else if (_global.DepthSt == "B2")
{
tempCH = 2;
}
else if (_global.DepthSt == "B3")
{
tempCH = 3;
}
else if (_global.DepthSt == "B4")
{
tempCH = 4;
}
else if (_global.DepthSt == "B5")
{
tempCH = 5; <--(esto se repite cambiando este valor dependiendo la cantidad de flashes)
}
else
{

var _location = "/swf/banner/"; (lugar donde estan todos los flashes)
loadMovieNum(_location + "sub_visual_ch_" + tempCH + ".swf", 1);[/code] <--- ("sub_visual_ch_" prefijo puede cambiar pero todos tus flashes deben de comensar con este nombre que colas ai y el 1 es el valor inicial quiere decir que leera el flash desde el 1 cambiantemente hasta el numero de flashes que colocaste tus archivos luego del nombre de prefijo deben llevar este numero)

Espero les aya ayudado y gracias a los que me aconsejaron.

Por miguelsirna

315 de clabLevel



Genero:Masculino  

Hacker & Programmer

firefox

 

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