setting Autolock true, not fire onplay event on autoplay



  • Using Autolock and automatically play the sound, onplay event is not fired at the moment.
    The below doesn't work.


    streamsound(bgm, get(sound_source[bgm].url), true, 1);
    set(sound[bgm].onplay, trace(onplay) );

    After pause and play, the event is fired properly.
    Automatic playing is not firing the event.


    Sometimes when I get the paused attribute, autoplayed sound says it's paused, even if it's playing the sound.


    Which part that I should fix?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!