View Single Post
  #10 (permalink)  
Old 07-26-2008, 10:17 PM
JJM JJM is offline
Knows the basics
 
Join Date: Apr 2007
Location: France
Posts: 82
Default FMod and Pause

Hi Erel,

With the new FMod I can't yet make a Pause when I listen to a mp3.
How can I do that?

With the ancient i had

Sub Pause_Click
If Fichier<>"" Then
If Timer1.Enabled = true Then
pauseP=fmod.Position
Fmod.Stop1
Timer1.Enabled = false
Pause.Color=cRed
Stop.Enabled=false
Else
Timer1.Enabled = true
Fmod.Play(Fichier)
Fmod.Position=pauseP
Pause.Color=212,208,200
Stop.Enabled=true
End If
End If
End Sub

Now I get an error when i want play again.

Thank you
JJ M
Reply With Quote