I noticed two things from the code sample:
1) You are using
vizact.call incorrectly. You should be passing it the play function, not calling the play function and passing it the result. It should be changed to:
Code:
vizact.call(quadBoardAlert.play,viz.LOOP)
2) The code you provided will not stop the looping sound or action, so I'm not sure how the sound stops playing at all. You may need to provide more code.
Also, please copy/paste the code in future posts, instead of attaching a screenshot of the code.