Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/02/2008, 13:41
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
Re: establecer frameRate distinto para un MC

Hola mikarts:
Aquí tienes un ejemplo para avanzar y retroceder:
Crea 2 botones: Avanzar y Retroceder
Dentro del MC debe de haber en el primero y último frame un stop();
Al MC le pones como nombre de instancia: mi_mc.
Al MC le pones éste código:
onClipEvent (enterFrame) {
if (_root.retroceda==true) {
prevFrame();
if (_currentframe==1) {
_root.retroceda=false;
}
}
}
Al botón avanzar:
on (release) {
with (mi_mc) {
gotoAndPlay(_currentframe);
}
}
Al botón retroceder:
on (release) {
_root.retroceda=true;
}

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