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

Participate now!

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