Dynamically change the wmode parameter

  • Hi Klaus!
    Is it possible to dynamically change the parameter wmode using JavaScript?
    Thus without restarting flash.

    I tried 2 options:

    Code
    function test() {
    window.frames['main'].embedpano({target: "pano", wmode: "transparent"});
    }
    Code
    function test() {
    var viewer = createPanoViewer({target: "pano"});
    viewer.addParam("wmode", "transparent")
    viewer.embed();
    }


    but it reloads Tour
    This code does not result

    Code
    function test() {
    viewer.addParam("wmode", "transparent")
    }


    Thanks!

  • Hi,

    changing the wmode setting dynamically is not possible - this is an embedding-setting how the Flashplayer will embed /render itself into the Browser - this can't be changed later without re-embedding the viewer.

    Best regards,
    Klaus

Jetzt mitmachen!

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