Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/07/2010, 12:26
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 10 meses
Puntos: 406
Respuesta: animacion suporponer imagenes saliendo desde la derecha

Hola malogama:
Coloca los 3 MC a la derecha fuera del escenario y le pones como nombre de instancia: mc_1, mc_2 y mc_3
Coloca tus botones en el escenario:
Código para el primer botón:
Código actionscript:
Ver original
  1. on (release) {
  2.     mc_1.onEnterFrame = function() {
  3.         mc_1._x += (200-this._x)/8;
  4.     };
  5.     mc_2.onEnterFrame = function() {
  6.         mc_2._x += (550-this._x)/8;
  7.     };
  8.     mc_3.onEnterFrame = function() {
  9.         mc_3._x += (550-this._x)/8;
  10.     };
  11. }
Para el segundo:
Código actionscript:
Ver original
  1. on (release) {
  2.     mc_2.onEnterFrame = function() {
  3.         mc_2._x += (200-this._x)/8;
  4.     };
  5.     mc_3.onEnterFrame = function() {
  6.         mc_3._x += (550-this._x)/8;
  7.     };
  8. }
Y para el terero:
Código actionscript:
Ver original
  1. on (release) {
  2.     mc_3.onEnterFrame = function() {
  3.         mc_3._x += (200-this._x)/8;
  4.     };
  5. }
Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/