• Hi !

    A very newbie question maybe...

    On this link, our 2015 wishes : http://static.zooomez.fr/medias/pr/ph/1…euxzmz2015.html

    with a fader as explained here : https://krpano.com/examples/118/e…bes/slider.html

    The first display shows during a short time the cube faces loading, then black overlay, then fade, and then the rotating pano.

    If I open the url a 2nd time, the datas are in cache, and the display is this time correct (no flash with the cube faces) . Of course, if I empty the cache, I am in the previous state with the ugly "flash".

    Is it possible not to show the cube faces the first time ?

    I have made an overlay with a png

    <plugin name="overlay" url="black.png" align="center" alpha="1" visible="true" width="150%" height="150%" enabled="false" zorder="-2" keep="true" />


    And the start action is :


    <action name="start">

    showtext('Nous vous souhaitons une excellente année 2015[br]dans un monde de tolérance de paix et de fraternité', voeux);

    delayedcall(2, tween(plugin[overlay].alpha,0,3,,set(plugin[overlay].visible,false)););

    delayedcall(6, hideintroimage(););

    addcube(pano1);

    addcube(pano2);

    setblend(0);

    </action>

    Any idea welcome *wink*

  • Hi,

    there are several possibilities - either hide (alpha=0) the cube faces until they were loaded (onloaded) - or 'preload' your overlay image (preload=true) - or use an simple black container element instead of the overlay image (=no loading necessary).

    Best regards,
    Klaus

Jetzt mitmachen!

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