WAIT doesn't seem to work in tween() action when called from javascript

  • Hello! In my pano tour I use hotspots to navigate. An action, similar to the 'transition'-action in the Kuchlerhaus-tour, is used:

    When this action is called from within the 'onclick'-attribute in the <hotspot>-tag, it works fine:

    Code
    <hotspot name="navigation_2" style="hotspot_navigation_north" ath="151.5" atv="4.8" scale="0.25" onclick="navigateByHotspot(navigation_2, 2, 246.87, 0, 90)"/>


    However, when I call this action from an external javascript, it only works partially. The WAIT doesn't seem to have any effect: the 'looktohotspot'-action is executed at the same time as the preceding 'tween'-actions.

    Code
    var command = 'navigateByHotspot(navigation_2, 2, 246.87, 0, 90)';
    $('pano1').call(command);

    Am I doing something wrong or could this be a bug?

  • Hello Klaus,

    Firstly, sorry for the late reply.

    Somehow, the problem has solved itself. I really have no idea what happened, but suddenly it worked again. Maybe a caching issue? Anyway, thanks for your feedback!

    Bob

Jetzt mitmachen!

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