A layer requires additional "visible" setting in html5

  • Hi all! While adding the so called "blocking" background layers which dim background and block interaction inside the pano, I noted the following case:

    Here's the link:
    http://vt-vr.most-inform.com/bg/


    Click on the magnifying glass spot to open bg layer and the same glass in the upper left corner to tween it away.
    The layer is tweened away by setting "enabled="false" and tweening alpha to "0". The layer uses "bgcapture="true" to block any action on the pano.

    The strange is that when I see it in Google Chrome desktop (Win) in Flash, it works fine. However if I switch Flash off, set(enabled, false); is not enough to disable the bg layer - it tweens to alpha=0 and continues to be there. So I need to use "visible" additionally to switch the bg layer off.

    The code is here:
    http://vt-vr.most-inform.com/bg/tour.xml

    Any ideas?

    And one more observation: on touchdevice (Google Nexus) the bg layer blocks any interaction on the pano except zooming. Strange...

Jetzt mitmachen!

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