You are not logged in.

Kabkee

Trainee

  • "Kabkee" started this thread

Posts: 82

Location: South Korea

Occupation: South Korea

  • Send private message

1

Thursday, September 29th 2016, 12:44pm

Image Hotspot vs Polygon Hotspot Z-index problem

I added two hotspots in a scene.
They are very close and one overlaps another.

Even if I set their zorder value between 0 to 100, it doesn't seem like working properly.

Please check out and get me an advice.
Thank you.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
        <hotspot    name="f1ElevUpBtnLeft" fillcolor="0xffffff" fillalpha="0.5" borderwidth="3.0" bordercolor="0xaaaaaa"
                    borderalpha="1.0" 
                    depth="1000"
                    polyline="false"
                    scaleflying="true"
                    tx="0"
                    ty="0"
                    tz="0"
                    zorder="20"
                    onclick="js(alertApp.add('짝수층 엘리베이터를 이용해주세요.', 2000, 'warning'))"
                 >
            <point ath="-38.43227" atv="7.876428" />
            <point ath="-38.460491" atv="8.784288" />
            <point ath="-37.747636" atv="8.869199" />
            <point ath="-37.652441" atv="7.922112" />
        </hotspot>

        <hotspot name="pointfinger"
                 url="%SWFPATH%/gui/pointfinger.png"
                 rotate="180"
                 ath="-26"
                 atv="0"
                 enabled="true"
                 onloaded="bounce()"
                 scale='0.7'
                 zorder="30"
                 onclick="js(panoStoryWrap.play(1-6));"
            >
        </hotspot>