Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor ionutianasi's Avatar
    Join Date
    Jul 2003
    Posts
    63
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved