addface HTML5-Problem

  • Hi,

    wenn ich beim HTML5-Player einen blendcube erstelle, verschwinden beim rotieren die distorted Hotspots immer einzeln und tauchen kurz dannach wieder auf. Ist das Problem bekannt und falls ja, gibt es dafür eine Lösung? Im Flash Player funktioniert alles einwandfrei. Code ist sehr simpel....

    <action name="addcube">
    addface(face1,0,0,256,256,-90,0,%1);
    addface(face2,0,256,256,256,0,0,%1);
    addface(face3,0,512,256,256,+90,0,%1);
    addface(face4,0,768,256,256,+180,0,%1);
    </action>

    <action name="addface">
    addhotspot(%1);
    set(hotspot[%1].url,get(scene[get(xml.scene)].previewurl));
    set(hotspot[%1].crop,%2|%3|%4|%5);
    set(hotspot[%1].ath, %6);
    set(hotspot[%1].atv, %7);
    set(hotspot[%1].width,1000);
    set(hotspot[%1].height,1000);
    set(hotspot[%1].distorted, true);
    set(hotspot[%1].enabled, true);
    set(hotspot[%1].details, 16);
    set(hotspot[%1].zorder,10);
    set(hotspot[%1].alpha,0);
    set(hotspot[%1].handcursor,false);
    set(hotspot[%1].onloaded,tween(alpha,1,%8));
    set(hotspot[%1].capture,false);
    </action>

    Als Quelle nutze ich die Preview in 256x1536, welche auf 256x256 gecropt und dann auf 1000x1000 skaliert wird. Und dort vermute ich auch das Problem. Denn wenn ich die Skalierung weglasse, werden die Hotspots ohne Aussetzer angezeigt.

    Dank und Gruß,
    Nupsi

Participate now!

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