• Dear All,

    createsound(flame1, 'flame1.mp3');
    ...
    playsound(flame1); - OK

    At later stage if I call "playsound(flame1);" once again it gives "WARNING: playsound: no sound with name 'flame1' found!", meaning it's possible to play it only once.
    How to keep it for multiply usage?


    regards,
    Granton

  • Solved, by adding .oncomplete... not right, but at least this is a temporary solution:
    createsound(flame1, 'flame1.mp3');
    set(sound[flame1].oncomplete, "createsound(flame1, 'flame1.mp3');");

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!