How to mask KRPano viewer when embedded

  • Hi,

    okay, I have tested too now with several Flashplayer versions,
    and right in Flashplayer 10.0 (and below) it's not working, but since 10.1 it is working,
    so it's just another Flashplayer bug

    after playing with some other mask constellations,
    I found this one that is working in all Flashplayer versions:

    Code
    var imagelayer:* = krpano.get("image.layer");
    imagelayer.parent.parent.addChild(masking);
    imagelayer.parent.mask = masking;
    imagelayer.parent.cacheAsBitmap = true;

    best regards,
    Klaus

Jetzt mitmachen!

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