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>

    Edited once, last by Jarredja (January 7, 2011 at 10:47 PM).

  • 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*

    Edited once, last by Marty McFly (January 7, 2011 at 6:57 PM).

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

    Quote


    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.

Participate now!

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