Comunidad de diseño web y desarrollo en internet online

Imagen en "onClipEvent (load)"

Citar            
MensajeEscrito el 09 May 2008 09:41 pm
Tengo el siguiente código aCTION SCRIPT en una página en flash, que dentro de la web que estoy haciendo me lleva de una parte al home, necesito que cuando se pase el mouse por encima me traiga un dibujo en un lugar específico, donde tendría que colocar o cómo hacerlo.

Este código está en un "Clip de película", había hecho lo de la imagen en un botón con los estados pero los dos, el clip y el botón no pueden estar en la misma posición, que debo hacer o cúal es su recomendación.
Gracias

onClipEvent (load)
{
num = 0;
this.title1.gotoAndStop(num);
this.title2.gotoAndStop(num);
this.nums1.gotoAndStop(num);
this.nums2.gotoAndStop(num);
this.icons.gotoAndStop(num);
}
on (rollOver)
{
if (_root.link != num)
{
this.gotoAndPlay("home");
} // end if
}
on (releaseOutside, rollOut)
{
if (_root.link != num)
{
this.gotoAndPlay(_totalframes - _currentframe);
} // end if
}
on (release)
{
if (_root.link != num && _root.animation == 1)
{
_root.animation = 0;
_root.link_prev = _root.link;
_parent["home" + _root.link].gotoAndPlay("home");
_root.link = num;
_root.play();
} // end if
}

Por ckoxkar

23 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 09 May 2008 09:57 pm
A tu código le falta formato

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 09 May 2008 10:01 pm

Código :

onClipEvent (load)
{
num = 0;
this.title1.gotoAndStop(num);
this.title2.gotoAndStop(num);
this.nums1.gotoAndStop(num);
this.nums2.gotoAndStop(num);
this.icons.gotoAndStop(num);
}
on (rollOver)
{
if (_root.link != num)
{
this.gotoAndPlay(\"home\");
} // end if
}
on (releaseOutside, rollOut)
{
if (_root.link != num)
{
this.gotoAndPlay(_totalframes - _currentframe);
} // end if
}
on (release)
{
if (_root.link != num && _root.animation == 1)
{
_root.animation = 0;
_root.link_prev = _root.link;
_parent[\"home\" + _root.link].gotoAndPlay(\"home\");
_root.link = num;
_root.play();
} // end if
}

Por ckoxkar

23 de clabLevel



Genero:Masculino  

msie7

 

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