Comunidad de diseño web y desarrollo en internet online

otra reproduccion

Citar            
MensajeEscrito el 27 Ago 2007 08:54 am
hola comunidad, estuve buscando en los foros algo que haga mas o menos lo sigiente pero no se si sea ya posteado,

ya tengo un boton el cual necesito. Que cuando lo precione, reproduzca una sencilla animacion que tengo como simbolo en la biblioteca.
solo me gustaria qe me dijeran que necesito hacer o que codigo usar, gracias!

Por shyrlei

6 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 27 Ago 2007 02:43 pm

Código :

btn.onRelease = function () {
animacion.play ();
};

Si no está instanciada:

Código :

btn.onRelease = function () {
var anim = this._parent.attachMovie ("animacion", "animacion", getNextHighestDepth (), {_x:100, _y:100});
// Esta línea no es necesaria
anim.play ();
};

Por HernanRivas

Claber

3416 de clabLevel

26 tutoriales

 

Argentina

firefox

 

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