play sound while the wheel spins only

Blitz3D Forums/Blitz3D Programming/play sound while the wheel spins only

I am finishing my slots game. I am having trouble playing a soundclip of music ONLY while the wheels are spinning. The wheels spin using a flag: wheelsarespinning = true (or false) during the main game loop.

If I create a sub while wend loop nothing happens on screen. possibly I have created it wrongly.

I tried stopchannel and channelplay etc. No joy.

Has anyone else had this problem?