Autoalpha bug in krpano 1.19-pr14

  • I've found strange behaviour of buttons (layer and hotspots based on type="text" style) with autoalpha="true" in 1.19-pr14

    Everything is ok while removing onover/onout events. Could you check it?

    Example: http://ai360.pl/projekty/bugs/autoalpha/

  • Hi,

    works exactly as specified! *wink*

    Here step by step:

    1. onclick => tween alpha to 0
    2. alpha gets 0 => autoalpha sets visible to false
    3. visible=false means no element there anymore => triggers onout
    4. onout => tween alpha to 0.5
    5. alpha gets greater 0 => autoalpha sets visible to true again


    If you want that the element shouldn't react to mouse events after the click, set enabled to false - e.g.

    Code
    onclick="set(enabled,false); tween(alpha, 0);"

    Best regards,
    Klaus

Participate now!

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