Make sound play on click - Help please


the sound only plays when hold mouse button down. need  play when click it. has stop sound from  playing twice

import flash.media.soundmixer;
this.addeventlistener(mouseevent.mouse_up,f);
function f(e:event):void{
soundmixer.stopall();
}


here link swf file

uploading.com/files/5fa52cbf/buklaugoodmp3.swf/


thank you

doesn't you're using mouse click event anywhere.  might want start that.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support