2 Replies Latest reply on Aug 24, 2015 10:22 AM by resdesign

    stop sound playback on close of symbol

    jomo5280 Level 1

      I am trying to stop a sound on a close button.

      I can get .pause to work - but .stop does'nt work at all.

      ( i want it so if somebody closed a symbol and then reopens it - it will start from the beginning.


      This is the code i am using on my close button:



      var audio1 = sym.getVariable("audio1");