• Hi,

    in the Flash version all plugin and hotspots elements are organized in separate layers and the visibility and alpha of these layers can be controlled by the 'plugin.visible', 'plugin.alpha', 'hotspot.visible' and 'hotspot.alpha' settings.

    But in the HTML5 version, there is (due technically reasons) no separated layer for these elements - and there fore these settings are not available there.

    An alternative would be to use an action, which is changing the alpha value from all hotspots,
    e.g.

    Code
    <action name="set_hotspots_alpha">
      for(set(i,0), i LT hotspot.count, inc(i),
    	set(hotspot[get(i)].alpha, %1);
    	);
    </action>

    to call it:

    Code
    set_hotspots_alpha(0.0);


    or

    Code
    set_hotspots_alpha(1.0);

    Best regards,
    Klaus

  • Hi,

    no, in the next scene, new hotspots were generated and there they would need to be hidden again...

    A solution might be:

    1. setting all hotspots to be invisible at start by default
    2. define a custom variable which defines if the hotspots are currently visible or hidden
    3. use an 'onnewpano' event for all scenes and check there this custom variable and show the hotspots if necessary
    4. in your hotspot switching action also change your custom variable.

    Best regards,
    Klaus

Participate now!

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