Nadirlogo? How to get it working?

  • I added the following code in my xml file but the nadir img does not show:

    <!-- nadir logo (distored hotspot) -->
    <hotspot name="nadirlogo"
    url="images/nadir.png"
    ath="0"
    atv="90"
    distorted="true"
    scale="1.0"
    rotate="0.0"
    rotatewithview="false"
    onclick="switch(rotatewithview); invalidatescreen();"
    />

    What am I doing wrong?

  • Here's what I use.

    EDITED:

    <hotspot name="nadirlogo"
    url="images/nadir.png"
    keep="true"
    ath="0"
    atv="90"
    distorted="false"
    zoom="false"
    scale="2"
    rotate="0.0"
    rotatewithview="false"
    onclick="action(logo)"
    />
    <events onxmlcomplete=""
    onviewchange="if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate,get(view.hlookat)) );"
    />

    <action name="logo">
    oninterrupt(break);
    set(autorotate.enabled,false);
    openurl(http://www.yourwebsitehere.com,_blank);"
    </action>

    Einmal editiert, zuletzt von Jarredja (7. Januar 2011 um 22:47)

  • Hi all small prob ^^ help me please

    Nadir image (Vector graphics) in .swf ---- pixellation . (logo.swf) with distorted="true"

    thank you for your reply *cry*

  • I think this note found in the documentation discusses your issue.

    Zitat


    rotate hotspot[name].rotate Number 0.0
    Rotation of the hotspot element in degrees.

    Note - this setting should NOT be used together with distorted="true"!


    Jarred

  • Thank you for your help jarredja. *wink*
    but i take the code in the demo of Klaus in the exemple (nadir-logo)

    I have a problem with .swf file - pixellation . *blink* -- jpg or png work fine *blink*

  • Well, thanks for catching my error here, I will edit it above.

    But do you know what's Marty's problem? He seems to be using the code directly from your example and his logo.swf is having pixalation issues.

Jetzt mitmachen!

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