The code below unfortunately results in the sound repeating at the framerate of the movie. I just need a simple "play a sound at a specific frame" function but can't figure this one out. Thanks for your help.
Code:addEventListener(Event.ENTER_FRAME,soundFunction); function soundFunction(event:Event) { if (naturepage.ocean_btns.currentFrame == 2) { ocean_channel.stop(); ocean_channel = ocean1.play(0,int.MAX_VALUE); mySO.data.ocean = "2"; mySO.flush(); } }