BUG with soundinterface ?! -Resolved-

  • Hi,
    I have a swf plugin with its continuous sound, I try to use the action stopallsounds(true) when "onloaded" the plugin but it does not work, the other soundinterface sounds stops but not the swf plugin's sound! The some problem comes when trying with "onstart". *confused*
    Also the some problem if I use swf hotspot instead of swf plugin.

    Thanks for any reply!

    2 Mal editiert, zuletzt von coolman (8. November 2011 um 14:55)

  • Hi,

    please provide more informations!

    e.g. either the full xml code or the a link the example,
    and what do you do in your plugin swf?
    how do you play the sound?
    how do you load the soundinterface plugin?

    one more details about sound stopping - when you using the correct soundinterface plugin version and call "stopallsounds(true)" then krpano calls the Flashplayer SoundMixer.stopAll() function - this should stop all sounds from the same security sandbox - when your plugin or that sound that it plays runs in a different sandbox then krpano is not able to stop it, then you would need to do that by yourself in your plugin,

    best regards,
    Klaus

  • Hi, thanks for your quick reply! I dont know how SoundMixer.stopAll works but if I use the action stopallsounds(true) with "onclick" it works fine and all the sounds stops when I click on the plugin! But this doesnt work if I use the action with "onloaded" !

    Note; the plugin I use is a normal swf animation with its own sound wich start with the animation.

  • Zitat

    I dont know how SoundMixer.stopAll works

    see the link to the Adobe docs above,

    Note; the plugin I use is a normal swf animation with its own sound wich start with the animation.

    something like a 'normal' swf doesn't exists
    e.g. HOW does it plays the sound? which sandbox? (and about sandbox - see the SoundMixer link above),


    Zitat

    But this doesnt work if I use the action with "onloaded" !

    which onloaded event - that one from the plugin?
    has your plugin itself already started playing the sound when this event happens?

    best regards,
    Klaus

  • see the link to the Adobe docs above,

    something like a 'normal' swf doesn't exists
    e.g. HOW does it plays the sound? which sandbox? (and about sandbox - see the SoundMixer link above),


    which onloaded event - that one from the plugin?
    has your plugin itself already started playing the sound when this event happens?

    best regards,
    Klaus

    *smile* I meant swf with no xml, php file calls or others..

    Yes, the onloaded event from the plugin: onloaded="stopallsounds(true)". The plugin'sound start and doesnt stop, the other sounds inetrface dont start at all!

    Note; If I use the onloadcomplete event the plugin's sound start playing before it stops.

  • Hi,

    Zitat

    *smile* I meant swf with no xml, php file calls or others..

    that's not that easy - a swf can contain script code!

    e.g. the krpano "onloaded" event will be called when the swf file itself was loaded,
    but it doesn't and can't guarantee that the code inside the 'swf' has already started playing the sound!

    best regards,
    Klaus

Jetzt mitmachen!

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