Comunidad de diseño web y desarrollo en internet online

Se puede hacer una especia de lista con "attachMovie"?

Citar            
MensajeEscrito el 31 Jul 2008 08:49 pm
Hola a todos, ¿Es posible llamar a dos clips (que están en la biblioteca y tiene distinto tamaño) mediante un attachMovie?
yo lo intenté de estas dos maneras, pero ninguna funcionó:
boton_btn.onRelease = function() {
attachMovie("foto1", "foto1", 1),("texto1", "texto1", 1);
foto._x =329;
foto._y = 64;
texto1._x = 330;
texto1._y = 60;
}

o así:
boton_btn.onRelease = function() {
attachMovie(("foto1", "foto1", 1),("texto1", "texto1", 1));
foto._x =329;
foto._y = 64;
texto1._x = 330;
texto1._y = 60;
}

Alguien sabe cómo se podría hacer? Muchas gracias

Por M_o_n_i_c

25 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 31 Jul 2008 09:38 pm
Pon dos attachMovie, ponle niveles diferentes y situa un objeto con los parámetros que quieras que herede este movie insertado:

Código :

boton_btn.onRelease = function():Void {

    _root.attachMovie("foto1", "foto1", 0, {_x:329, _y:64});
    _root.attachMovie("texto1", "texto1", 1, {_x:330, _y:60});

} 

Por elchininet

Claber

3921 de clabLevel

17 tutoriales

Genero:Masculino  

Front-end developer at Booking.com

firefox
Citar            
MensajeEscrito el 31 Jul 2008 11:34 pm
Gracias, chininet!!! eres un genio!!!!!!! ahora lo voy a probar. GRACIAAAAAAAAAAAAAAAS!!!!!!!

Por M_o_n_i_c

25 de clabLevel



Genero:Femenino  

msie7

 

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