Hi,
Take this hotspot for instance:
<hotspot name="h1" onclick="trace(get(name))" url="test.png" />
when clicked, it will trace h1
when I call this from javascript:
krpano.call('hotspot[h1].onclick');
I get a null. My question is, how can I call the onclick action of a hotspot, but still keep the context. I hope I could avoid this:
<hotspot name="h1" onclick="trace(get(hotspot[h1].name))" url="test.png" />
(I know, name is a bad example here, but it points out it's redundentnous, I want to keep it flexible)