Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/05/2012, 10:02
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 8 meses
Puntos: 406
Respuesta: Animando mediante programacion

Hola jose1225:
Aquí un ejemplo:
Ponle como nombre de instancia al MC clip.
En la capa acciones escribe éste código:
Código actionscript:
Ver original
  1. clip.onRelease = function()
  2. {
  3.     clip.onEnterFrame = function()
  4.     {
  5.         if (this._xscale < 1000)
  6.         {
  7.             this._xscale = this._yscale = this._xscale + 10;
  8.         }
  9.         if (this._alpha <= 100)
  10.         {
  11.             this._alpha = this._alpha - 5;
  12.         }
  13.         else
  14.         {
  15.             delete this.onEnterFrame;
  16.         }
  17.     };
  18. };
Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/