Comunidad de diseño web y desarrollo en internet online

ayuda con este efecto

Citar            
MensajeEscrito el 11 Feb 2008 02:48 am
Hola necesito ayuda con este efecto, lo quiero poner en mi pagina gracias
http://www.energyprod.it/

Por boudelare

4 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 11 Feb 2008 02:55 am
hola, toma lee este tuto q te va a servir para hacer el efecto q queres...
http://www.cristalab.com/foros/t32336.html
cualquier cosa mandame un mail y tr comento mas especificamente como se hace
saludos.

Por leotaku56

150 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 11 Feb 2008 03:15 am
esta es la funcion pero cuando exporto me aparece en negro el swf

function iniz()
{
this.tween("_alpha", 100, 0.200000, "linear");
f_brightnessTo(bg, -100, 0);
f_brightnessTo(bg, 0, 4);
f_brightnessTo(testo, -100, 0);
f_brightnessTo(testo, 0, 5);
} // End of the function
function f_over(n)
{
var _l6 = [4, 6, 8, 10, 9, 7, 5];
var _l7 = [60, 70, 80, 100, 80, 70, 60];
var _l8 = [-80, -70, -60, 0, -60, -70, -80];
var _l10 = [-100, -100, -100, 0, -100, -100, -100];
if (_global.g_LAB == 0)
{
var _l3 = 1;
while (_l3 <= 4)
{
var _l5 = this["blocco" + _l3];
var _l4 = _l3 + 3 - n;
_l5.swapDepths(_l6[_l4]);
_l5.scaleTo(_l7[_l4], 0.800000, "easeOutExpo");
f_brightnessTo(_l5, _l8[_l4], 0.800000);
_l3++;
} // end while
} // end if
play_snd(n);
} // End of the function
function play_snd(n)
{
blocco1.gotoAndStop(1);
blocco2.gotoAndStop(1);
blocco3.gotoAndStop(1);
blocco4.gotoAndStop(1);
if (musica_caricata_n != n)
{
stopAllSounds();
this["blocco" + n].gotoAndStop(2);
} // end if
musica_caricata_n = n;
} // End of the function
function f_click(n)
{
if (_global.g_LAB == 0)
{
_global.g_LAB = n;
chiusura(n);
} // end if
} // End of the function
function chiusura(n)
{
var _l5 = [1, 2, 3, 4, 3, 2, 1];
f_brightnessTo(bg, -100, 0.800000, 0);
var _l2 = 1;
while (_l2 <= 4)
{
var _l4 = this["blocco" + _l2];
var _l3 = _l2 + 3 - n;
f_brightnessTo(_l4, -100, 0.800000, _l5[_l3] * 0.100000);
_l2++;
} // end while
f_brightnessTo(testo, -100, 0.800000, 0.500000, f_procedi);
} // End of the function
function f_procedi()
{
_parent.play();
} // End of the function
function f_brightnessTo(ogg, val, t, d, f)
{
var _l1 = 100 + val;
if (d == undefined)
{
var _l2 = 0;
} // end if
if (f == undefined)
{
var _l3 = null;
} // end if
ogg.colorTransformTo(_l1, 0, _l1, 0, _l1, 0, 100, 0, t, "easeOutExpo", _l2, _l3);
} // End of the function
_alpha = 0;
musica_caricata_n = 0;
iniz();

Por boudelare

4 de clabLevel



Genero:Masculino  

msie7

 

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