Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/12/2010, 10:24
Ojete
 
Fecha de Ingreso: agosto-2010
Ubicación: Oakland california
Mensajes: 393
Antigüedad: 13 años, 9 meses
Puntos: 3
Respuesta: Como reproducir dos sonidos a la ves con un mismo boton???

hola Bandit, que no entiedas para que quiero reproducir 2 sonidos a la misma ves me ayuda para explicar que es lo que quiero hacer, Bueno lo que quiero hacer es reproducir varios mp3 pero quiero que se reprodusca un sonido de de fondo como de proteccion para que no los valla alguien a grabar con algun programa pues son canciones creadas por un grupo musical que le cantan a un pueblo pero el autor de las canciones le gustaria generar algo de ingreso de ese material.... bueno no entrare en mas detalles creo que se entiende no? el caso es evitar la pirateria o al menos hacerla mas dificl para el que quiera piratear....

aqui el codigo
Código PHP:
Ver original
  1. onClipEvent(load) {
  2.  
  3. // the file path of the MP3 file that will be played.
  4. targetMP3 = ""+_root.song1;;
  5.  
  6. // this variable tells Flash how loud the volume of the audio should be. 100 = max (loudest), 0 = min.
  7. audioVolume = 100;
  8.  
  9. // the main hex color of the button.
  10. mainColor = "000000";
  11.  
  12. // the secondary hex color of the button.
  13. accentColor = "00cccc";
  14.  
  15. // action performed when the MP3 finishes. Set to "loop", "next", "nextAndLoop", or "none".
  16. whenFinished = "none";
  17.  
  18. // when set to true, music will start playing automatically,
  19. playAtStart = false;
  20.  
  21. // when set to true, music stops when the button is pressed. When set to false, music will pause instead.
  22. stopWhenPressed = true;
  23.  
  24. // when set to true, snaps the movie clip to whole pixel coordinates.
  25. snapPosition = true;
  26.  
  27. // when set to true, pressing this button will stop other audio buttons on the same movie clip.
  28. stopOthers = true;
  29.  
  30. // when set to true, pressing this button will stop all audio buttons in the movie.
  31. stopAll = false;
  32.  
  33. }

Última edición por Ojete; 12/12/2010 a las 13:38