visible false polygonal HOTSPOT ??

  • Hello, first thing is that my English is very basic.
    I wonder if I'm doing something wrong, try to create a polygonal hotspot that doing onclick
    perform an action that causes another to make polygonal HOTSPOT invisible.




    <hotspot name="name1"
    keep="false"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="6"
    fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
    fillcolorhover="0xffffff" fillalphahover="0.24" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.00"
    fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
    onover=""
    onhover=""
    onout=""
    ondown=""
    onup=""
    onclick="action(closename2);"
    details="8"
    effect=""
    flying="0"
    inverserotation="false"
    ismovie="false"
    usecontentsize="false"
    >
    <point ath="-12.7446" atv=" 0.0278" />
    <point ath="-13.0758" atv=" 0.1779" />
    <point ath="-13.4103" atv=" 0.5151" />
    <point ath="-13.4033" atv=" 5.3698" />
    <point ath="-13.1471" atv=" 5.7484" />
    <point ath="-12.7040" atv=" 5.9627" />
    <point ath=" 8.5339" atv=" 6.0342" />
    <point ath=" 9.0143" atv=" 5.8191" />
    <point ath=" 9.3064" atv=" 5.4960" />
    <point ath=" 9.3495" atv=" 0.6458" />
    <point ath=" 9.1813" atv=" 0.3463" />
    <point ath=" 8.7378" atv=" 0.0653" />
    <point ath="-12.7446" atv=" 0.0278" />
    </hotspot>

    <hotspot name="name2"
    keep="false"
    visible="true" enabled="true" handcursor="true" capture="true" children="true"
    zorder="6"
    fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
    fillcolorhover="0xffffff" fillalphahover="0.23" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.00"
    fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
    onover=""
    onhover=""
    onout=""
    ondown=""
    onup=""
    onclick=""
    details="8"
    effect=""
    flying="0"
    inverserotation="false"
    ismovie="false"
    usecontentsize="false"
    >
    <point ath="-11.0475" atv=" 11.1117" />
    <point ath=" -5.6364" atv=" 13.8959" />
    <point ath=" -7.6941" atv=" 17.7426" />
    <point ath=" -1.9525" atv=" 15.4445" />
    <point ath=" 3.7622" atv=" 17.5841" />
    <point ath=" 1.9990" atv=" 13.7788" />
    <point ath=" 7.4957" atv=" 11.2119" />
    <point ath=" 0.6585" atv=" 11.2889" />
    <point ath=" -1.4545" atv=" 7.4492" />
    <point ath=" -3.9632" atv=" 11.3276" />
    <point ath="-11.0707" atv=" 11.1332" />
    </hotspot>


    <action name="closename2">
    set(hotspot[name1].visible,false);
    </action>

    thanks

Participate now!

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