Thank you Robin for your quick help , everything works perfectly, except for one thing. I put the looped GetPosition function in a script object attached to a page
I control the sound by adding buttons to Start(Reset),Pause and Continue the sound
I put the following scripts on the Left Mouse Down trigger:
Start Button :
mySound.SetPosition(0)
mySound.Play()
Pause Button
mySound.Stop(false)
Continue Button
mySound.Play()
The buttons control the sound correctly and the the position variable updates accordingly. When I pause the sound the position variable holds at the correct position but when I click on the continue button the variable
doubles its value (for example when I stop at 10 and continue the variable is at 20). When I pause again the variable shows the correct value.
Any reason for this strange behaviour or is there something I've done wrong ??
One more question : which is the best sound format to use , ensuring that all end users will be able to hear it correctly ??