Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/02/2008, 12:58
cota26-6
(Desactivado)
 
Fecha de Ingreso: abril-2005
Mensajes: 285
Antigüedad: 19 años
Puntos: 1
sobre encendido y apagado

hola si alguien me pdora solucionar mi problema , es el siguiente hice dos botenes uno que es de stop y otro que es de play.
lo que pasa es los iguiente hice las acciones del boton cuando le hago clik funciona da stop a la musica , el boton de play hice las acciones pero le doy click y no da play a la musica , quiero saber si esta bien las acciones o que tengo que hacer aca voy a poner las aciones aver si alguien me dice si hecho bien o mal

acciones de boton play


on (release) {

//Play Internal Sound Behavior
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};
if(typeof this.createEmptyMovieClip == 'undefined'){
this._parent.createEmptyMovieClip('stay',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.stay = new Sound(this._parent.BS_stay);
} else {
this.createEmptyMovieClip('_stay_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.stay = new Sound(this.stay);
}
_global.Behaviors.Sound.stay.attachSound("stay");
if (true) {
_global.Behaviors.Sound.stay.start(0,1);
}
//End Behavior

}



acciones del boton stop

on (release) {

//stopAllSounds Behavior
stopAllSounds();

}

haber si alguien me puede ayudar se lo agradeceria