×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    Jul 2003
    Posts
    63

    sound.stop() won't stop the sound!

    Hi!

    I have a sound(wav format) which is initialized when the game starts.
    The game has levels. During a level I want to play the sound in background, repeatedly so I call

    wavsound.play(0);

    when a level ends I call :

    wavsound.stop();

    On the first level this works fine, but, at the end of the second level when calling wavsound.stop() the sound won't stop playing.

    To resume, I have something like this:

    //level 1
    ...
    wavsound.play(0);
    ...
    wavsound.stop();
    ...

    //level 2
    ...
    wavsound.play(0); //also tried with wavsound.resume() here
    ....
    wavsound.stop(); // THIS DOSEN'T STOP THE SOUND
    ...


    Any thoughts?
    Thanks!
    (tested in Series 60 SDK beta 0.3.1)
    Last edited by ionutianasi; 2004-07-24 at 09:23.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×