Sie sind nicht angemeldet.

1

Donnerstag, 30. Mai 2013, 14:57

"donecall" loadpano

I need to call an action in the end to load each scene. Which event to use?

It would be a kind of "donecall" existing function lookto. This function will hide a layer.

Thanks and regards,

3

Samstag, 1. Juni 2013, 23:17

what you want to achieve? Loading each scene of hiding layer? Anyway I think there is no event for that but you define your own actions and call them when you need them ;)

4

Samstag, 1. Juni 2013, 23:42

That's right! need to hide a layer when the scene is fully loaded.

5

Samstag, 1. Juni 2013, 23:47

have you tried with http://krpano.com/docu/xml/#events.onloadcomplete
E.g.

Quellcode

1
<events onloadcomplete="set(layer[your_layer].visible,false);"/> 

6

Sonntag, 2. Juni 2013, 00:55

Thanks for the help, you showed me the way. From there I found that the events may be local to each scene.

I decided to put the event into the scene:


Quellcode

1
2
3
<scene>	
          <events name="close" onloadcomplete="event_close();" />
</scene>


Best regards,