0 Replies Latest reply on Mar 8, 2008 6:31 PM by pollopesca

    Play sound on release?

    pollopesca Level 1
      Ello all, I’m kind of a noob with action scrip but I need help with something simple.
      I’m trying to make a button play a sound when clicked. I’ve tried a few different ways of doing this but I was wondering if there is a script where I can tell it to play a specific file in the library, for instance:
      on(release)
      {
      code to play audio(name of sound in library)
      }

      somthing like this...

      And of course each sound would be on a different layer since that’s how I’ve seen it done with a few sound boards. this is for my Chinese class witch will be posted on the school site so i need to finish it soon. Any help is much appreciated, thanx in advance!