0 Replies Latest reply on Nov 21, 2006 5:00 AM by budge2006

    Attaching sound to a button using Actionscript

    budge2006
      I have an invisable button that I want the user to press and trigger some audio.
      I have the audio clip in my library and I am trying to link it to the button using actionscript.
      'udal' is the audio clip in the library and it is the identifier name in Linkage properties.
      My script is as follows:
      on(press){
      udal=new Sound();
      udal.attachSound("udal");
      udal.start();
      }

      There are no errors with this script when I check it in Flash but when I export it, there is no sound!

      Some help with this would be great as I have spent the last couple of hours trying to figure it out
      & NOTHING!!