Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/05/2011, 17:23
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 9 meses
Puntos: 406
Respuesta: Error Flash Cs4

Hola xikixio:
El código al escribirlo así, no debe de darte ningún error:
Código actionscript:
Ver original
  1. normal.onRollOver = function() {
  2.     gotoAndStop(2);
  3. };
  4. normal.onRollOut = function() {
  5.     gotoAndStop(1);
  6. };
  7. normal.onRelease = function() {
  8.     hide_buttons();
  9. };
  10. this._alpha = 0;
  11. onResize();
  12. this.onEnterFrame = function() {
  13.     this._alpha = this._alpha+5;
  14.     if (this._alpha>=100) {
  15.         delete this.onEnterFrame;
  16.     }
  17.     // end if  
  18. };
  19. stop();
Si tu quieres ir al frame 2 de la Línea de tiempo principal al poner el mouse sobre el botón, en ésta parte de código: this.gotoAndStop(2); elimina el this, lo mismo en el onRollOut

Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/