5 Replies Latest reply on Jun 12, 2009 9:41 AM by kglad

    onRelease can not make sound play.

    chewbears

      What is the actionscript for 2.0 to attach and play a sound onRelease.  I have come up dry on the web and searching : (

       

      var my_sound:Sound = new Sound();
      my_sound.attachSound("click.wav");

       

       

      click.wav is in the library named click

       

      and then onRelease I have

       

      thEX_3.onRelease = function(){
      _root.expo_mc.gotoAndPlay(1);
      my_sound.start();