Hi friends.
I am making a virtual tour with krpano-1.0.8-beta9.
I set an action called "hide-01" for the first scene. I need it to be performed whenever the user starts a least interaction with the scene. So I set the events like this:
Code
<events
onclick="action(hide-01)"
onmousedown="action(hide-01);"
onmouseup="action(hide-01);"
event.onmousewheel="action(hide-01);" />
I wrote this within the
<scene> </scene>
tags. So I expext this events to work in the first scene only. But it works within every next scene of the tour. I tried to set keep and enable nodes for it like this:
Code
<events name="scene1"
enabled="false"
keep="false"
onmousedown="action(hide-01);"
onmouseup="action(hide-01);"
event.onmousewheel="action(hide-01);" />
but it does not help.
Guys, can you help me to lock the events in the specific scenes only? Is it possible at all? Or they apply to the whole tour only?