Edit: Ignore below as Littleboy's way is smoother but, I'm leaving this for other potential ideas.
The easiest way I can think of is to break it into two animations.
Animation1 being frames 0 to 55
Animation2 being frames 56 to 145
Depending on your animation settings then you'd do something like this:
* Note I haven't tested this
Code: vbscript
- ' Animation Image, Frames, Speed, Command
- Object.SetPicture "Animation1.png",56,100,&H00000001
- Object.SetTimer 1, 5600 ' Speed needs to equal length of first animation
- Sub Object_OnTimer1
- Object.Sound= "mysound.wav"
- Object.SetPicture "Animation2.png",89,100,&H00000001
- Object.KillTimer 1
- End Sub
If you're doing a continual loop animation then set up a second timer and call it from within timer 1, then call timer1 from inside timer 2.
Make sure to kill both timer's on exit