creating new object


/ Published in: ActionScript
Save to your folder(s)

creando un objeto de la clase sound y tocandola con un boton


Copy this code and paste it in your HTML
  1. var misonido:sound = new sound();
  2. misonido.attachSound("file.wav");
  3.  
  4. violeta_btn.onPress=function(){
  5.  
  6. misonido.start();
  7.  
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.