Topic: How do I stop audio in a hidden frame?
I have three hidden frames that rotate content when the user clicks next. The content slider works fine but I don't know how I can embed audio properly. I have an audio file for each frame, but when I go to frame 2, the audio in frame 1 continues to play. How can I stop this problem. I want the previous audio to automatically stop when the next frame becomes visible.
> Somebody showed me the javascript below but I don't know how to customize it for windows media audio player or even where to put it:
onChange: function(*previndex*, *curindex*){
if (previndex==curindex) //if two indices point to the same slide (page first loads)
return //do nothing
else if (previndex==1)
videoplayer.stop("filename")
else if (previndex==2)
videoplayer.stop("filename")
else if (previndex==3)
videoplayer.stop("filename")
Please help!

