Hi,
I would like to know how to access to points ATV ATH when my file looks like :
|
Source code
|
1
2
|
<krpano> <elements name="hotspots">
<item name="polyspot_1" style="my_style" > <point ath="-4.687" atv="-5.712" /> <point ath="4.505" atv="-5.735" /> <point ath="4.417" atv="13.633" /> <point ath="-4.517" atv="13.601" /> </item><krpano>
|
i can access to the name and style by :
|
Source code
|
1
|
trace(get(elements[hotspots].item[0].name));trace(get(elements[hotspots].item[0].style));
|
but how to access to point ath atv ?
i've tried,
|
Source code
|
1
2
|
trace(get(elements[hotspots].item[0].point.count));
trace(get(elements[hotspots].item[0].point[0].atv));trace(get(elements[hotspots].item[0].point[0].ath));
|
but always return "null"
regards