Hotspot onclick funtkioniert nicht

  • Hallo,

    ich öffne ein Video(videospot) beim Klick darauf. Zusätzlich wird ein Hotspot(spot3) auf visible=true gesetzt. (soll man ein close Butten werden). Das funktioniert.

    Wenn ich aber auf dem neuen Hotspot(spot3)ein visible=false für den Videohotspot setze funktioniert es nicht. Komischerweise wenn ich aus dem onclick ein onover mache funktioniert es.

    Wo kann mein Fehler liegen?

    <hotspot name="videospot"
    url="%SWFPATH%/plugins/videoplayer.swf"
    alturl="%SWFPATH%/plugins/videoplayer.js"
    videourl="cats-short.m4v"
    posterurl="%SWFPATH%/examples/plugin-examples/video-hotspot/poster.jpg"
    distorted="true"
    ath="0"
    atv="0"
    edge="center"
    scale="0.4"
    rx="0"
    ry="0"
    rz="0"
    loop="true"
    pausedonstart="true"
    directionalsound="true"
    range="200"
    volume="0.7"
    onclick="togglepause();set(hotspot[spot3].visible,true); tween(scale,2); "
    />

    <hotspot name="spot3" style="skin_hotspotstyle" visible="false" ath="22.000" atv="30.000" onclick="set(hotspot[videospot].visible,false);" />

    egal was ich mache onclick funktioniert nich, onover funktioniert.


    gruß sarron

    Edited once, last by sarron (October 16, 2012 at 10:05 AM).

Participate now!

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