Switch Sound Problem

SoftboySoftboy Member, PRO Posts: 43
edited November -1 in Working with GS (Mac)
I have made a musicplayer that plays soundfiles. A next and a previous button changes the files by changing an integer between 0,1 and 2.

It works but if you switch between the songs beginning with 0 then 1 and then 2, and then go back to 1 and 0 then it creates a problem between 0 and 1.

When it changes from 0 to 1 the second time, the music file registered to play when integer is 1 doesnt play at all.

It seems like a random error that doesnt make any sense.

Anybody who tried something like this or who knows just where I might have made a mistake?

Best Regards

SoftBoy
Sign In or Register to comment.